JavaScript & DHTML - How to specify an event handler with a Function object?
Take a look at the following simple example which illustrates this. document.onfocus = new Function("document.bgColor='#ff0000'")
Category: | JavaScript & DHTML |
<< Go back