470,826 Members | 2,020 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,826 developers. It's quick & easy.


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?
Aug 21 '06 #1
0 818

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Marek | last post: by
1 post views Thread by Gregory Gadow | last post: by
3 posts views Thread by deko | last post: by
reply views Thread by fiefie.niles | last post: by
5 posts views Thread by fniles | last post: by
6 posts views Thread by fniles | last post: by
5 posts views Thread by Dave | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.