Hello,
I have two images, that I am using their value to insert into a db table. Do I Require a form or can I do without one.
<form name="form1" id="form1" method="post" action="save.php"><input type="image" src="images/test.png" border="0" id="star_image" value="<? echo $some_value; ?>" /></form>
<form name="form2" id="form2" method="post" action="save.php"><input type="image" src="images/test1.png" border="0" id="star_image1" value="<? echo $some_value1; ?>1" /></form
Would the above trigger the below jQuery code
$(document).ready(function(){
$('#form1').ajaxForm({});
$('#form2').ajaxForm({});
});
-----------------------------save.php--
insert into table (field) values('value')
.
.
.
.
And I want to submit the form using jQuery only
Thanks Jean