174
rated 0 times
[
175]
[
1]
/ answers: 1 / hits: 118031
/ 14 Years ago, mon, august 2, 2010, 12:00:00
I want an HTML form to do nothing after it has been submitted.
action=""
is no good because it causes the page to reload.
Basically, I want an Ajax function to be called whenever a button is pressed or someone hits Enter after typing the data. Yes, I could drop the form tag and add just call the function from the button's onclick event, but I also want the "hitting enter" functionality without getting all hackish.
More From » html