Categories | Question details Back To List | ||
loading JSON data to grid Hi, in my grid i want to load the json data which is coming from servlet. mygrid.load("/admin/manage/country?action=loadData","json"); onchange of active/inactive/all i want to send value of changed option ie active or inactive or all . please tell me how to append and send the option value and url. so onchange of option value i want to laod json data in my grid. Regards, Ravindra B Answer posted by Support on Jan 28, 2009 04:29 <select onchange="reload_grid(this.value)" > <option value="all">All</option> ... </select> function reload_grid(mode){ mygrid.clearAll(); mygrid.load("/admin/manage/country?action=loadData"&mode="+mode,"json"); } |