Quote:
Originally Posted by boske
I am getting the error
Line: 469
Char: 1
Error: Expected '('
Code: 0
And I think I narrowed it down to this line:
Code:
<input name=vb_login_username type=text id=navbar_username onfocus=if (this.value == '$vbphrase[username]') this.value = ''; size=10 />
It has to be this though
onfocus=if (this.value == '$vbphrase[username]') this.value = '';
Does anyone know what that does?
|
I had exactly the same situation removing the onfocus section gets rid of the javascript error on IE and doesn't seem to affect the operation of the script. Can anyone confirm what that code section actually does?