• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to retrieve responseXML params value

 
Sally william
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im passing locationcode parameter to my ajax function. In the ajax reponsexml, if alertlist not empty, i can get the location code from the result itself. But, if alertlist is empty, i need to get back location code parameter valued passed to the server side to be used inside for the div id (else condition).

anyway that i can get back my passed parameter during ajax GET call?

I have this:


and the ajax response will be this:


my create ajax function is this:


or is there any way i can retrieve params from the ajax url as below image:

2012-08-22_133226.png
params on ajax url
[Thumbnail for 2012-08-22_133226.png]
 
Sally william
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i found the solution guys...dont know why i like to make things difficult..goshh..

i solved the issue by creating a hidden input field. Then, set the location code to the hidden field. and inside the else condition, just call the input field value.

It's that SIMPLE..!!

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic