Click to See Complete Forum and Search --> : submitting https opener form


10basetom
05-13-2003, 05:28 PM
hi, there's this page, it's in a secure location (https). this page has a form that uses method=post. i am trying to submit this form from a popup window (opener.myForm.submit()) but it is not working.

the form appears to submit and i don't get any js errors, but it doesn't actually transmit any information.

does anyone know what is the cause behind this?

thanks,
tom

10basetom
05-13-2003, 06:10 PM
hi dave,

i tried top.opener.document.myForm.submit() but it still doesn't submit data.

no, the popup is not https. it is a bookmarklet that looks something like this:

javascript:void(window.open('javascript:str="<html><body><form><input type=button value=submit onClick=top.opener.document.myForm.submit()></form></body></html>"','test','width=300,height=200'))

i'm able to manipulate all the form elements in the opener window from the bookmarklet popup, but it doesn't seem like i can submit the form from the said popup. i'm using IE 6.

(note: i had to stuff all the html into the bookmarklet because IE didn't allow me to manipulate the form elements from an external popup file for security reasons.)

have you come across a scenario like this before? i'm wondering if my problem relates to method=post and/or https.

thanks,
tom