shanuragu
11-17-2003, 05:21 AM
HI
When I click on the image I should be able to submit the form.
This is how I am trying to implement it. But form is not getting submitted???
<script>
function ShowTicketDetails()
{
document.form.strAction.value="Book Now";
document.form.action="BookNow.asp";
document.form.method="post";
document.form.submit();
}
</script>
Is this a valid statement
<a href="javascript:ShowTicketDetails();" onclick="document.form.book_dt.value='<%=book_dt%>';document.form.book_show.value='M';"><img src="../images/available.gif" border="0" name="book"></a>
Please help.
Shara
When I click on the image I should be able to submit the form.
This is how I am trying to implement it. But form is not getting submitted???
<script>
function ShowTicketDetails()
{
document.form.strAction.value="Book Now";
document.form.action="BookNow.asp";
document.form.method="post";
document.form.submit();
}
</script>
Is this a valid statement
<a href="javascript:ShowTicketDetails();" onclick="document.form.book_dt.value='<%=book_dt%>';document.form.book_show.value='M';"><img src="../images/available.gif" border="0" name="book"></a>
Please help.
Shara