----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: King John Message 6 in Discussion hi I am attaching a JAVA Script Code. You can use this in DataGrid or DataList http://www.alltimefriends.com/temp/tableRowSelect.html John Manavalan www.manavalan.com <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>www.manavalan.com</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#CCCCCC"> <form name="form1" method="post" action=""> Name Company Address <input type="checkbox" name="checkboxCont" value="1" onClick="highlight(this)"> King John NCRP - ICMR Bangalore <input type="checkbox" name="checkboxCont" value="2" onClick="highlight(this)"> Nimmy Mind Tree Bangalore <input type="checkbox" name="checkboxCont" value="3" onClick="highlight(this)"> Sreeja HP Bangalore <input type="checkbox" name="checkboxCont" value="4" onClick="highlight(this)"> Naveen Trigent Bangalore <input type="button" name="Button" value="Close Me" onClick="javascript:window.close();"> </form> > function highlight(arr) { var tr = eval("document.getElementById(\"TR" + arr.value + "\")"); if (arr.checked == true) tr.style.backgroundColor = "lightgreen"; else tr.style.backgroundColor = "orange"; } </script> By John Manavalan www.manavalan.com </body> </html> ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]