Hi all, I am newbie using Yii. Does anyone know on how to submit form only with javascript.
thanks,
Jack
Hi all, I am newbie using Yii. Does anyone know on how to submit form only with javascript.
thanks,
Jack
This will submit form immediately
<form name="formToSubmit" method="post" action="page_destination.php">
<input type="hidden" name="p1" value="test1 />
</form>
<script language="javascript">
document.formToSubmit.submit();
</script>