Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Variable

Status
Not open for further replies.

bretttt

Programmer
Jul 23, 2002
74
US
i have this
function highlightr(el) {

var SHIPPED1 = 'document.color.c1.value';
SHIPPED1.style.backgroundColor =
SHIPPED1.style.backgroundColor == \"yellow\" ?
\"\" : \"yellow\";
}

its not working someone plz help.
 

I think you need to buy a book (or find an online resource) about CSS and JS basics, and a hve a good long read.

Not trying to be negative, and realise that you're probably new to all of this, but you need to have a better grasp of how things work, and book.online resources are a perfect place to start.

Doesn't mean we won't still help you here, of course!

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top