Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Check boxs and table row back ground colors
- From: sclay at ufl.edu (Steve Clay)
- Subject: [Javascript] Check boxs and table row back ground colors
- Date: Tue Apr 25 10:40:38 2006
Tuesday, April 25, 2006, 11:06:32 AM, Mike Dougherty wrote: > loTR.className = loTR.className.replace(/\shighlighted/g,""); /* remove the class */ > Note: that regexp is probably not 100% right (sorry) /\s*\bhighlighted\b/g \s* = zero or more whitespace chars \b = word boundaries ensure not inside another word invaluable regular expression workbench: http://osteele.com/tools/rework/ Steve -- http://mrclay.org/
- Follow-Ups:
- [Javascript] Check boxs and table row back ground colors
- From: Nick Fitzsimons
- [Javascript] Check boxs and table row back ground colors
- References:
- [Javascript] Check boxs and table row back ground colors
- From: Abyss - Information
- [Javascript] Check boxs and table row back ground colors
- From: Mike Dougherty
- [Javascript] Check boxs and table row back ground colors
- Prev by Date: [Javascript] Check boxs and table row back ground colors
- Next by Date: [Javascript] JavaScript reference guides [WAS: Check boxs and table row back ground colors]
- Previous by thread: [Javascript] Check boxs and table row back ground colors
- Next by thread: [Javascript] Check boxs and table row back ground colors
- Index(es):