Thanx a lot..! I am facing another problem here I have button on my .aspx page. The button click event is fire from java script. But i got a prblem in chrome the click event is not fired. var btnSave = document.getElementById('ctl00_TabContainer1_TabEvaluation_cpEvaluation_btnSave'); if (docVal != "") { btnSave.click(); alert("The changes are saved sucessfully!!"); } }
The code you are posting isn't that much, but I will do whatever I can to push you in the right direction.
Most browses don't support that you can fire the event of a button, or other control, like "click". Better way:
var btnSave = document.getElementById('ctl00_TabContainer1_TabEvaluation_cpEvaluation_btnSave');
btnSave.onclick = function() { 
    if(!typeof(docVal) == "undefined" && docVal != null && docVal != "") { 
         alert("The changes are saved successfully!!"); 
    }
};
Hope this works for you.