This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes how to retrieve responseXML params value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to retrieve responseXML params value" Watch "how to retrieve responseXML params value" New topic
Author

how to retrieve responseXML params value

Sally william
Greenhorn

Joined: Mar 03, 2012
Posts: 15
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:




[Thumbnail for 2012-08-22_133226.png]

 
 
subject: how to retrieve responseXML params value
 
Similar Threads
AJAX - responseXML is empty
servlet parsing data to javascript
Implementation of google charts in JSP
Reading a 'Collection' object from JSON
Page section does not update after call of a4j:support in IE 9