JavaScript keeps returning ambigious error (in ASP.NET MVC 2.0)
- by Erx_VB.NExT.Coder
this is my function (with other lines ive tried/abandoned)...
function DoClicked(eNumber) {
//obj.style = 'bgcolor: maroon';
var eid = 'cat' + eNumber;
//$get(obj).style.backgroundColor = 'maroon';
//var nObj = $get(obj);
var nObj = document.getElementById(eid)
//alert(nObj.getAttribute("style"));
…