Link to home
Start Free TrialLog in
Avatar of newbie27
newbie27Flag for United Kingdom of Great Britain and Northern Ireland

asked on

jquery - dynamic results in the flexigrid

Hello Folks,
I am making Flexigrid to receive data dynamically by amending param:query based on the user selection.
User has a choice to pick item name from the dynamically populated list which includes the default cookie name and list names from the xml file.
All I wanted to do here is whichever name been selected, make a query, do an ajax request and assign the response to the Flexigrid. Please have my code snippet attached .
Thanks for your help
Regards
Sam
Avatar of newbie27
newbie27
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

I have tried to modify the attached to modify  onSuccess event handler for the call which will find the selected option and then to make the ajax request for the flexigrid control, but it did not work...

please advice
thanks
s
function repopulateList()
{
	$.ajax({
	  type: "POST",
	  url: "list_builder.asp",
	  data: "action=save&listname="+$("#txtListName").val(),
	  success: function(msg){
							$("#theList").html( msg );								
                            }
    });
}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks