Hello List,

Has anyone had any problems using the onClick="window.close();"
function within a input type = "submit" ?

I'm trying 

<input type="submit" name="submit" value="submit"
onClick="window.close();"> 

But evidently it's reading the close before the submit because the value
of my form var is not being passed.  

I have also tried it in conjunction with a hidden field too.

<input type="hidden" value="<?echo $comm;?>"> 
<input type="submit" name="submit" value="submit"
onClick="window.close();"> 

If I dont use the onclick() the variable gets passed and/or entered into
db just fine.

Curious if anyone has had this problem or if anyone has any ideas...Thx
Mignon



____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to