jamesxg1 Posted August 8, 2009 Share Posted August 8, 2009 Hiya peeps, Is there any way i can use either jason or ajax to do the following ?, i need a link like so, <a href="URL" onclick="send.$id.$name">Click me to edit a database without refreshing the page</a> and then it will post the $id & $name to a jason or ajax script and return the values from a mysql rip without the page being refreshed ?, Many many thanks, James. Quote Link to comment Share on other sites More sharing options...
jamesxg1 Posted August 8, 2009 Author Share Posted August 8, 2009 Sorry, The link would probably be more like this wouldnt it, <a href="script.php?name=$name&id=$id" onclick="send();">Click me to edit a database without refreshing the page</a> James. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted August 8, 2009 Share Posted August 8, 2009 This is handled by AJAX. Have a read of the tutorials over at w3schools.com to help you get started. Quote Link to comment Share on other sites More sharing options...
jamesxg1 Posted August 8, 2009 Author Share Posted August 8, 2009 I just had a look, And my brain is not functioning to well with this language of coding, would someone point me in the right direction with coding and ill see if i can do it , AJAX is too advanced for me lol. James. Quote Link to comment Share on other sites More sharing options...
jamesxg1 Posted August 8, 2009 Author Share Posted August 8, 2009 Has anyone got any ideas or tut's on this sort of subject ?, would be much appreciated , Many thanks, James. Quote Link to comment Share on other sites More sharing options...
jamesxg1 Posted August 8, 2009 Author Share Posted August 8, 2009 Anyone ?, James. Quote Link to comment Share on other sites More sharing options...
RichardRotterdam Posted August 8, 2009 Share Posted August 8, 2009 Is there any way i can use either jason or ajax to do the following ?, I think you meant Json instead of Jason. Json stands for JavaScript Object Notation. It's just a notation for transfering data and not really related to your problem. And my brain is not functioning to well with this language of coding, Ajax is not a language. have you read what ajax is yet? the link provided earlier is a good start. You might also want to read the wiki article http://en.wikipedia.org/wiki/Ajax_(programming) Quote Link to comment Share on other sites More sharing options...
jamesxg1 Posted August 8, 2009 Author Share Posted August 8, 2009 Is there any way i can use either jason or ajax to do the following ?, I think you meant Json instead of Jason. Json stands for JavaScript Object Notation. It's just a notation for transfering data and not really related to your problem. Ahaha!, sorry i just noticed the error in my writing lol (How dumb do i feel now lol). And my brain is not functioning to well with this language of coding, Ajax is not a language. have you read what ajax is yet? the link provided earlier is a good start. You might also want to read the wiki article http://en.wikipedia.org/wiki/Ajax_(programming) Oh, I didnt know that, and ok i shall have a butchers . James. Quote Link to comment Share on other sites More sharing options...
jamesxg1 Posted August 8, 2009 Author Share Posted August 8, 2009 Anyone have any links or tuts for me please ?, Many thanks, James. Quote Link to comment Share on other sites More sharing options...
jamesxg1 Posted August 8, 2009 Author Share Posted August 8, 2009 I really need some help , and not many people come to this part of the forums , James. Quote Link to comment Share on other sites More sharing options...
corbin Posted August 9, 2009 Share Posted August 9, 2009 Any tutorial we could find through google you also can find through google. 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.