matheusporto
Programmer
Hi everybody..
I'm trying to do a post in my asp page through a Javascript statement. It works fine when i use IE, but with Firefox it doesn't. I've to make it works for both browsers. Any idea?
Thanks.
Here's the code i'm using.
Response.Write("<script>document.forms['Form1'].method = ""post"";document.forms['Form1'].action = ""['Form1'].target=""_blank"";document.forms['Form1'].submit();</script>")
'Response.Write("<script>window.location = ""Aviso.aspx?resultado=Sucesso""</script>")
I'm trying to do a post in my asp page through a Javascript statement. It works fine when i use IE, but with Firefox it doesn't. I've to make it works for both browsers. Any idea?
Thanks.
Here's the code i'm using.
Response.Write("<script>document.forms['Form1'].method = ""post"";document.forms['Form1'].action = ""['Form1'].target=""_blank"";document.forms['Form1'].submit();</script>")
'Response.Write("<script>window.location = ""Aviso.aspx?resultado=Sucesso""</script>")