View Single Post
08-08-2007, 06:39 PM
#9
CreativeLogic is offline CreativeLogic
CreativeLogic's Avatar
Status: Request a custom title
Join date: Feb 2005
Location:
Expertise:
Software:
 
Posts: 1,078
iTrader: 6 / 100%
 

CreativeLogic is on a distinguished road

Send a message via MSN to CreativeLogic

  Old

First you want to remove the onclick from the button.

Add this to the form:
onsubmit="GetURL(); return false;"

The return false will make the form not submit the page, you know what the GetURL function does.

There error in IE is this line (which IE doesn't support):
Request.overrideMimeType('text/html');

To be honest, I'm not sure why you're using that. Your returned result should send back those proper headers if you must have them in there. If you remove that line it looks like it should work.