M
moondaddy
I'm using html labels (div elements) instead of server controls such as an
asp link button because I want to control the mouseover, mouseout, mousedown
and mouseup events to control its appearance accordingly. So the way I see
it I have 2 ways to go:
1) Use a div element so I can control its appearance with jscript and then
in its onclick event call some jscript that starts a postback and calls a
server side function
or
2) Use a asp link button and some how use client side jscript to control its
appearance.
Which one of these would be best and how would I make it work, or is there a
3rd/better option?
asp link button because I want to control the mouseover, mouseout, mousedown
and mouseup events to control its appearance accordingly. So the way I see
it I have 2 ways to go:
1) Use a div element so I can control its appearance with jscript and then
in its onclick event call some jscript that starts a postback and calls a
server side function
or
2) Use a asp link button and some how use client side jscript to control its
appearance.
Which one of these would be best and how would I make it work, or is there a
3rd/better option?