Hata sonra bir formu göndermek

0 Cevap php

Ben böyle bir php var:

<?php
......
?>
<html>
<head></head>
<body>
<div id="content">
<form id="myform" name="myform">
<?php include_once("ronny.php"); ?>
.....
<input type="button" value="Save" id="Save" name="Save" onclick="if(check123()==true){document.myform.submit()}" />
</div>
</form>
...

Now, in this case after i click on save i have an error document.myform.submit is not a function in firebug and in IE the error is Object doesn't support this property or method. If i delete the <?php include_once("ronny.php"); ?> everything is ok.

ronny.php böyledir:

<?php

if(......)){

?>
<div></div>
<div></div>
<SCRIPT LANGUAGE="JavaScript">
....
</SCRIPT>
<?php } ?>

I üst php dahil koyarsanız o da tamam.

teşekkür ederim!

0 Cevap