I want to use ajax in jquery to get data for my page...
The problem is that the url which i call has some query strings to be sent along with it...
for example: the url which i call for getting data is:-
**http://mysite.in.datae ngine.aspx?t=ab cde&token=h34jk 3**
the data i get in response from this url can be in xml format or java script arrays(whicheve r i choose)
for eg...the xml wil look like this:-
and the javascript array would look like this :-
**
Region = new Array();Region. push(new Array('MWEST', 'west'));Region .push(new Array('MCENT', 'north' ));Region.push( new Array('THAN', 'south'));
**
So when i get the data i want to store it in a drop down box.(using ajax)
Any help would really be appreciated. Thanks!!
The problem is that the url which i call has some query strings to be sent along with it...
for example: the url which i call for getting data is:-
**http://mysite.in.datae ngine.aspx?t=ab cde&token=h34jk 3**
the data i get in response from this url can be in xml format or java script arrays(whicheve r i choose)
for eg...the xml wil look like this:-
Code:
<root version="1.0"> <Regions> <Region SubCode="MWEST" RCode="west"/> <Region SubCode="MCENT" RCode="north"/> <Region SubCode="THAN" RCode="south"/> </Regions> </root>
**
Region = new Array();Region. push(new Array('MWEST', 'west'));Region .push(new Array('MCENT', 'north' ));Region.push( new Array('THAN', 'south'));
**
So when i get the data i want to store it in a drop down box.(using ajax)
Any help would really be appreciated. Thanks!!