hakux Posted August 9, 2007 Share Posted August 9, 2007 arkadaşlar benim index1.php sayfamda bir forum var forumu doldurum kaydet butonuna tıklayınca form action="index1_kaydet.php" olacak şekilde işlem yapsın ama tıklanınca aynı zamanda index.php ye yönlendirilsin. ben bi kod buldum ama olmadı. aşağıya yazıyorum. <FORM action="index2.php" name="check1" method="post" target="_blank"> <INPUT TYPE="SUBMIT" name="Gonder" VALUE=" Gönder"> </form> bu formdaki butonun oncilick özelliğine " <meta http-equiv="refresh" content="0; url=index.php"> " bu kodu eklemeye çalıştım ama olmadı. yardım ederseniz sevinirim. Link to comment Share on other sites More sharing options...
cumman Posted August 9, 2007 Share Posted August 9, 2007 <BUTTON type="button" name="mybutton" value="10"> <SCRIPT type="text/javascript"> function my_onclick() { . . . } document.form.mybutton.onclick = my_onclick </SCRIPT> </BUTTON> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.