Can someone explain why IE7/8 say there is an error on my home page? I have very little javascript but apparently there is an issue with it.
In your script, in the prepareSearchFields function there are these lines of code that look to be wrong: var searchField = document.getElementById("user"); //I was not able to locate an element on your page with an id of "user" //find the default value of the search field var defaultValue = searchField.defaultValue; //This I don't believe will work either as it is asking for searchField.defaultValue when defaultValue has just now been defined, so then searchField.defaultValue will be undefined
Thanks... Do you know of any decent script that can have it so that the user and pass fields have a value in them but when you click on it, they disappear and when you click away, they reappear?