Hi all,
I'm new to jquery, I'm trying to make something that work
with jquery and form, but I'm in error and I don't know where:
<MyCode>
<html>
<head>
<title> jquery </title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#myForm").submit(function(){
alert("Submit Pressed");
)};
});
</script>
</head>
<body>
<form id="myForm" action="script.php" method="post">
<input type="text" name="testo">
<input type="submit" name="submit" value="salva">
</form>
</body>
</html>
</MyCode>
I've googled a lot of time, but I've not found some "very simple"
tutorial, documentation about how jquey work with Form, fields,
"onsubmit event" and ajax submission ... some link are very helpful :)
Thanks for your help and time
--
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
"It's easier to invent the future than to predict it." -- Alan Kay
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/