Outputs the age of a specified name typed in a form, without a page refresh. It’s easy, using jQuery! Great for beginners to AJAX style methods. FORUM phpacademy.org TWITTER twitter.com BLOG blog.phpacademy.org
Revisions
There are no revisions for this post.
Users who found this page were searching for:
- post data from mysql without refreshing
- post data from mysql without refreshing
@openLund where do I put the code?
tks a lot man!!
awsome dude
Congratulations this tutorial is very helpful…
This was a simply fantastic tutorial
very nice I started my first code of jquery using this.. will watch other videos and see how it goes.. keep it up..
if using jquery, you should not be using the onClick() within the html content, jquery emphasies seperation of presentation and behaviour, better is to give the button an id and use the jquery selector to write a click event for it
Thanks, nice tutorial. You’ve just earned my sub.
Thanks mate. Lots of useful info. I was making my forms validation, checking if the name exists and stuff without refreshing the page, and it is chaotic! Your tutorial will help me fix it up a bit. ;( thanks again.
I like the way you discuss this tutorial. It is very informative. This is exactly what I am looking for. Thank you! Keep it up!
@Sumuwilla Make the image submit the form data upon click
Hi , how can I do the same thing, but instead of clicking on the button
I click on an image to get some text from my Database according to what I want ??
Great video, had some trouble though about passing through the variables to the php doc, it only seemed to work when the form name was form. But again nice video
great video!
A really good and professional tutorial.
Thanks !
A really good and unprofessional tutorial.
Thanks !
Muy buen aporte muchas gracias…
Please close your single tags with />!! Grr!
@aalamnaryab i added an email field and textbox to post too. Now that you can do that you can get back anything you want.
@vazqjose thank you
but i m unable to even post age
i think i hv something wrong with jquery.js file
@aalamnaryab Use a comma, example: name: document.form.name.value, email:document.form.email.value, etc….
what if we have to POST multiple variables?
Typo.
I got it working.
Thank you
I am running IE 8. When I click the “get” button nothing happens.
I did everthing word for word (up to time stamp 13:15 & 14:15)
I downloaded the latest jquery-1.6.2.min.js from the Jquery website. I did not change its name to jquery in the script section.
congratulations