I have a javascript function which I am running when a user clicks on an
image. I'm trying to run the same function from the server side using
registerclientscript block.
The procedure uses the documents getelementbyid method to find a div and
toggle display props.
When I run this from the regular client click even, it retrieves the id and
does it's thing. When it is called from the registerclientscript it still
hits the javascript but cannot retrieve the div anymore. It doesn't seem to
understand the document in the same way. Any thoughts?