PDA

View Full Version : New to javascript!


huynhminhvu
09-12-2004, 10:57 PM
Hello everyone!
I'm a new programmer to javascript. I want to change background color of a table row when it's clicked. I already have the script to change bgcolor, when user click on the table row.
But the table was returned by an Datagrid in asp.net, where can i put my script in aspx page.
Please help me! :wacko:

BaldEagle
01-27-2005, 02:17 PM
This looks exactly like what you want.

www.xefteri.com/articles/nov042002/default.aspx (http://www.xefteri.com/articles/nov042002/default.aspx )

BaldEagle

BaldEagle
01-27-2005, 03:52 PM
I apologize for the link. It did not address the Datagrid issue, so try this instead.

http://aspnet.4guysfromrolla.com/demos/RowHighlighter.aspx

BaldEagle