R
Roberto Kohler
I am trying to add a body event handler to a page that uses a masterpage.
I need to do something like:
<body onkeydown="catchKeyPress(window.event.keyCode,
window.event.srcElement);">
The problem is that when the page uses a masterpage, I can't add a <body>
tag.
How do I set a body event handler when a page uses masterpages ?
I need to do something like:
<body onkeydown="catchKeyPress(window.event.keyCode,
window.event.srcElement);">
The problem is that when the page uses a masterpage, I can't add a <body>
tag.
How do I set a body event handler when a page uses masterpages ?