I am trying to get a bit of code that will change the background color and change the size of a textbox when it is clicked on.
The Javscript function is (for just the color):
and the code to call it is:
The error I get is object not defined.
The Javscript function is (for just the color):
Code:
function changeInput(this) {
document.getElementById(this).style.backgroundcolor = "silver" ;
}
Code:
<input type="text" name="#Contact_First_Name#" value='#Contact_First_Name#' size=#len(Contact_First_Name)+4# onClick=" changeInput(this) return true;">
The error I get is object not defined.