PDA

View Full Version : [AJAX] Easy guide to loading dynamic content using Javascript



jamiemcconnell
02-27-2007, 10:20 PM
1) CODE TITLE: Easy guide to loading dynamic content using Javascript

2) AUTHOR NAME/NOTES: Jamie McConnell - Nodstrum

3) DESCRIPTION: I have been using this sort of script for a while now, and thought i'd take the time to share :)

4) URL TO CODE:
http://nodstrum.com/2007/02/27/ajaxcontentload/

jscheuer1
02-28-2007, 08:12 AM
Something that has that much to wade through shouldn't be called 'Easy'.

djr33
02-28-2007, 08:24 AM
This 'id' is not in the case statement.(from example page)


Why don't you have an else/default page, like an index?

Unless someone is trying to mess with the page, they will very unlikely be playing with the variable(s) sent to the php page. Seems logical to hide the coding complexities from the end user. The designer will know there is a problem as it loads the index/main content.

ddadmin
03-01-2007, 07:06 AM
Just for future reference this area of the forum is mainly for posting completed scripts, not tutorial links. It's not a directory after all. :)