Hi, I want to add an onblur event to a specific textbox. The textbox is created by a php class which is why I can't add the event into the html. I have the following:
Where ink_colours_edit is the id of the textbox and showinks() is the javascript function I wish to be run. This doesn't seem to work.
Any ideas greatfully received!
Gary
-Geeeeeeeeeeeeeeeeeeeeeeee-
Code:
document.getElementById('ink_colours_edit').onchange = showinks();
Where ink_colours_edit is the id of the textbox and showinks() is the javascript function I wish to be run. This doesn't seem to work.
Any ideas greatfully received!
Gary
-Geeeeeeeeeeeeeeeeeeeeeeee-