Results 1 to 1 of 1

Thread: AJAX: Posting Variables?

  1. #1
    Join Date
    Jul 2009
    Posts
    71

    AJAX: Posting Variables?

    Alright so after realizing my code works I realized more or less my problem but have yet to come to a solution. So now what I want is basically will essentially be some links which depending on the posted data will change, the only thing is that I want these links placed on the same page that will be recalled, any ideas?
    my java: (ALOT REMOVED)
    move(x,y){
    ...
    xmlhttp.send("xPosition="+x+"&yPosition="+y);
    }

    my onclick event:
    <a onclick="move(x,y)">Move</a>

    The page should display a map with some tiles having the onclick function. When clicked the page will reload in the designated div, with the new x and y position, any ideas as to how to do this?
    Last edited by benjaminj88; 25 Sep 2010 at 03:15 AM.

Similar Threads

  1. Multiple Ajax functions on the same page?
    By Tek9Designs in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 20 Jul 2007, 03:02 AM
  2. Practical AJAX Examples
    By sloppyjoe in forum General Questions
    Replies: 0
    Last Post: 22 Aug 2006, 02:10 PM

Posting Permissions

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