Closed Thread
Results 1 to 3 of 3

Thread: Starting AJAX

  1. #1
    phpforfun's Avatar
    phpforfun is offline Speaks fluent binary
    Join Date
    Feb 2008
    Posts
    1,232
    Blog Entries
    17
    Rep Power
    24

    Starting AJAX

    So I kinda need to start learning AJAX, soon too.. Obviously that means I will learn a bit of JS with it, which is fine I suppose. I dont plan on using ajax a lot, just for my current site. All I need to do is have an HTML dropdown menu that stays updated with info from a database.

    Other than w3 schools, anyone have any good tutorial sites?
    Checkout my new forum! http://adminreference.com/

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest

    Re: Starting AJAX

    AJAX is the combination of JavaScript and a server side language. It basically consists of one class: XMLHttpRequest. Once you receive the data back from the server you will need to parse it using JS though. Here is a good tutorial: http://forum.codecall.net/tutorials-...=AJAX+tutorial

    Ajax and XMLHttpRequest Tutorial

  4. #3
    phpforfun's Avatar
    phpforfun is offline Speaks fluent binary
    Join Date
    Feb 2008
    Posts
    1,232
    Blog Entries
    17
    Rep Power
    24

    Re: Starting AJAX

    I have it so it will update a small list every few seconds, thats because its just text, but how would I make it update a dropdown, the issue is that you cant put javascript IN javascript.. It doesnt work, atleast not the way I tried it...

    If I place the dropdown PHP and JS code in a remote file, then use AJAX to call on it every 5 seconds, it will flash every five seconds, and still doesnt act as a dropdown..
    Checkout my new forum! http://adminreference.com/

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Starting PHP, Please help me
    By RuneNova91 in forum PHP Development
    Replies: 3
    Last Post: 03-23-2011, 01:46 PM
  2. Replies: 0
    Last Post: 10-25-2010, 03:39 AM
  3. Starting out
    By Gumbi in forum C and C++
    Replies: 7
    Last Post: 03-18-2010, 12:03 AM
  4. Just Starting With PHP
    By davidthefat in forum PHP Development
    Replies: 5
    Last Post: 12-28-2009, 08:17 AM
  5. Just starting up C#
    By Terol in forum C# Programming
    Replies: 6
    Last Post: 09-26-2008, 08:50 AM

Tags for this Thread

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