Advanced Search

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
    27,542
    Thanks
    42
    Thanked 2,877 Times in 2,849 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
    11,787
    Thanks
    225
    Thanked 657 Times in 645 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>| Deutsch | italiano | español | português | català | un peu de français | Ninasoma Kiswahili | 日本語の学生でした。| درست العربية

  4. #4
    Join Date
    Aug 2004
    Posts
    9,872
    Thanks
    3
    Thanked 956 Times in 945 Posts
    Blog Entries
    15

    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
  •