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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Phantom Code in my App (2)

Status
Not open for further replies.

LonnieJohnson

Programmer
Apr 16, 2001
2,628
US
In reference to...

1) that thread above is going to get deleted again. please be sure to preview your posts prior to posting. for example, when posting your actual code, we don't need all of your select options, especially since that's not relevant to your question.

2) it is good form to place all of your script within your head tags.

3) try replacing this:


CODE
var theForm = document.forms['AddNewLog'];
if (!theForm) {
theForm = document.AddNewLog;
}

with this


CODE
window.onload = function() {
var theForm = document.forms['AddNewLog'];
if (!theForm) {
theForm = document.AddNewLog;
}
}

That's my problem. I can't find that code in my app. I was told that it was created by the server.



ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
I just tested in Firefox and IE, and I was wrong about needing a name in the form. Both browsers identify the form with either an id or name.

Lee
 
There were only 2 I listed, Cory. :)# I didn't try Opera, though I have it installed.

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top