Adding onclick stuff to an INPUT via javascript
I have an INPUT box, for the sake of brevity it shall hitherto be known as turkey, that I want to edit. Unfortuinately for me, there html page that it is located in is read only. Luckly, in the HEAD of the page, it loads a javascript file that is not read only.
Now, is there a way through javascript that I can edit turkey to add something like "onclick="javascript:dofunction()""?
|