If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

HTML onLoad Event Not firing on some machines

I have a htm page that takes in an entry from the user in an input box.

On the onLoad event i go and check whether the user has a value in for their username and password, passed into from a seperate application.

If they have a valid username and password I set the focus to be the CCI.Input box where the user enters in the CCI number of the printer they want to print to.

On some machines the on load event is not firing. I have found this by using the alert function in the onLoad function on my machine it pops up, on other machines it pops up but in a small handfull it does not pop up.

If i F5 the page it triggers the onLoad event and the CCI input box gets the focus. I am just a bit perplexed as to why on some machines it will not fire.

There is an error popping up saying permission denied and when it is refreshed it gets rid of this.

I am running IE6 on my machine, the machine that it is not working is an IE6 machine.

<tr>
<td><FONT COLOR="RED"><B>This number determines the printer your PAS labels, letters and OCS request forms are sent to. </FONT COLOR></B></td>
</tr>
<tr>
<td><FONT COLOR="RED"><b>Entering a different CCI number may result in your labels and letters being </FONT COLOR></B></td>

2. language=javascript is deprecated, <script type="text/javascript"> is to be used these days.

3. try using a standard HTML coding style, which proved to be accepted all over the Doctypes, browsers, etc:

Code:

<tagattribute=" "onevent=" ">

That means: use lowercase for tags, attributes and events. And nest in quotes, usually double, their values.

4. What is that for?

Code:

AutoItXDLL.WinClose("Launching PASWEB. Please wait ...","");

I don't see any AutoItXDLL object nor a WinClose() method around.

Note. No offense but: For God's sake, how long are you going to use IE6? Even Microsoft makes for about a whole year an appeal to all of you to switch toward at least IE7, if not straight to IE8 or IE9. What' the use of that IE test? A break there? Break what? Returns what?