disabling an list item not working in Firefox
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi.. My .aspx page has an unordered list. I need to disable few items (< li >). Here are the two approaches that I tried. Both working in IE. None works in Firefox. Please help! Apporach 1: ============ The runs at server and the < li >s are dynamically created in the code behind. I declare a variable li as htmlGenericControl and assign the required attributes and add this li to the list. Before adding the li to the list, I used li.disabled = true; Approach 2: =============== In javascript onpageload, document.getElementById("li1").disabled = true; both are not working in FF. please help. Kit.