Form submission with Ajax
View Single Post
10-13-2012, 10:38 PM
Supreme Master coder!
Join Date: Feb 2009
Thanked 3,998 Times in 3,967 Posts
You *ARE* doing an AJAX submit. But then, because you used a SUBMIT BUTTON, the <form> GOES AHEAD AND SUBMITS ANYWAY.
Answer is simple:
" class="button" id="youtubesubmit" value="Search">
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Users who have thanked Old Pedant for this post:
View Public Profile
Find More Posts by Old Pedant