• 16-08-2009, 15:48:08
    #1
    Merhaba,
    normalde form işlemlerinde
    <form action="a.php"></form>
    şeklinde kullanıyoruz ama ben submit e basıldığında a.php nin mesela 100*100 bir yeni pencerede açılmasını istiyorum. Yani _blank olayı.. Bunu nası yapabiliriz?
  • 16-08-2009, 16:40:24
    #2
    Üyeliği durduruldu
    <FORM  method="post">
    <INPUT class="textbox" maxLength="20" size="20" name="ad">
    <INPUT class="textbox" maxLength="20" size="20" name="ad">
    <INPUT class="textbox" maxLength="20" size="20" name="ad">
    <INPUT type="submit" onClick="window.open('gonder.php')" onclick="this.form.submit();this.disabled=true; return true;"  value="Gönder" />
    </FORM>
  • 16-08-2009, 16:57:34
    #3
    </head> üzerine yazın bunu

    <SCRIPT TYPE="text/javascript">
    <!--
    function popupform(myform, windowname)
    {
    if (! window.focus)return true;
    window.open('', windowname, 'height=200,width=400,scrollbars=yes');
    myform.target=windowname;
    return true;
    }
    //-->
    </SCRIPT>
    formu da şöyle açın;

    <form method="post" action="a.php" onSubmit="popupform(this, 'join')">
    ...
    ...
    </form>
  • 17-08-2009, 03:20:05
    #4
    yardım için çok teşekkürler ikinize de