hi my dear friends :
the below code works perfect in ie9 , but does not work in firefox 3.6
$(\'#ctl00_ContentPlaceHolder1_RadUploadImage\').attr(\'disable
This is discussed here too: http://forum.jquery.com/topic/disable-image-button
You don't have to use JQ for that , just use pure JS like that :
document.getElementById('x').disabled = true;
or if you wanna UNdisable it :
document.getElementById('x').disabled = false;
if you are using jQuery < 1.6 do this:
$('#ctl00_ContentPlaceHolder1_RadUploadImage').attr("disabled", 'disabled');
If you are using jQuery 1.6+:
$('#ctl00_ContentPlaceHolder1_RadUploadImage').prop("disabled", true);
See this question: .prop() vs .attr() for references why.
Same answer was given here: jQuery .attr("disabled", "disabled") not working in Chrome