Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keep getting an error in a web page using a MSINET Control.

Status
Not open for further replies.

jimtmelb1

Technical User
Sep 7, 2003
72
AU
Hi I have an Access 2000 database with a embedded browser in a form. The Active X control I use is MSINET.OCX.

I am experiencing an error when a user clicks submit on a web page with the following javascript;

<script type="text/javascript">
<!--
var submitted = 0;

function doSubmit()
{
if (submitted == 0)
{
submitted = 1;
document.now_step.submit();
}
if (document.all)
event.returnValue = false;
}

I get a javascript error. The error says
"'event' is null or not an object"
The error seems to occur at the line
document.now_step.submit();

The above has been working successfully until last week. Don't know why?
The same javascript page works fine when clicking submit using Internet Explorer.

Can anyone suggest a reason why this is happening.
Any suggestions will be much appreciated.
Thanks
Jim

The same script works
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top