Results 1 to 4 of 4

Thread: [AJAX] Easy guide to loading dynamic content using Javascript

  1. #1
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb [AJAX] Easy guide to loading dynamic content using Javascript

    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/

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,475
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Something that has that much to wade through shouldn't be called 'Easy'.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,156
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •