This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Bunkhouse Porch and the fly likes jQuery In Action Chapter 8 - use a php data file for ajax call. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Books » Bunkhouse Porch
Reply Bookmark "jQuery In Action Chapter 8 - use a php data file for ajax call." Watch "jQuery In Action Chapter 8 - use a php data file for ajax call." New topic
Author

jQuery In Action Chapter 8 - use a php data file for ajax call.

Dennis Spring
Greenhorn

Joined: Apr 07, 2010
Posts: 12
jQuery In Action:
Re: Chapter 8
I could not get the POST var syntax to work for the script calling the data file with the .load() method.

You can use a php page for the data file, in place of the getDetails.jsp.
The code for my version of getDetails.php is :



******************************************************
remember to use echo - not return!
******************************************************

The calling page, boot.closet.1.html, needs a mod in the javascript:

This call, using GET var syntax in the 7th line works:


- - - - - - - - - - - - - - - - - - - - - - - - - - -

This call, using POST var syntax, does NOT work.
(Maybe someone can enlighten me.)



The web page for the .load() method at jQuery.com has a glitch. I need another good lead on where I have gone wrong with the POST var syntax. Anyone have an idea?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: jQuery In Action Chapter 8 - use a php data file for ajax call.
 
Similar Threads
Space not releasing on toggle of divs
Using Insole (ethical dilemma)
Struts2 layout issue
Returning array To Method
Checkbox Isuue