EchoFool Posted July 29, 2008 Share Posted July 29, 2008 I have a page on my website which is going to viewed and refresh so many times i dread to wonder lol. It is basically a page showing: X : Y : like map co-ordinates. Below that is a form of 4 buttons: left right up and down. Now every time a submit button is pressed at the moment, the entire page has to refresh to run the mysql to change the relevant X;Y and run the includes that random "lucky finds" etc. Now i want to eliminate the refreshes so that as a submit button is pressed the page won't refresh which will reduce server loading of css layout etc. But will still execute the most of script that is relevant.... So before i begin looking into Ajax, am i looking for the impossible or is this possible in Ajax, and how hard is this idea to get working ? Quote Link to comment Share on other sites More sharing options...
corbin Posted July 29, 2008 Share Posted July 29, 2008 Should be possible with AJAX, and should be fairly simple. Quote Link to comment Share on other sites More sharing options...
EchoFool Posted July 29, 2008 Author Share Posted July 29, 2008 What function am i looking for that can do this... can't find what function i might need =/ Quote Link to comment Share on other sites More sharing options...
corbin Posted July 30, 2008 Share Posted July 30, 2008 Uhhh, I would just take it one piece at a time if I were you. It's hard to say what functions you will need. Quote Link to comment Share on other sites More sharing options...
Zane Posted July 30, 2008 Share Posted July 30, 2008 begin with AJAX tutorials here's a good one http://www.webpasties.com/xmlHttpRequest/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.