hi all,
I want to disable some of text fields and several buttons on my webpage when click on "Edit" button.. I am using images as buttons.
document.getElementById("textFieldID").disabled = true;
document.getElementById("imageID").disabled = true;
but on clicking the Edit button, still the other buttons(images) does not disabled. those are acting (those are properly working on click)..why is that...?
And on click edit button the text field is successfully disabled but when the page is refreshed, that field still disabled, but a combo box on the same page, is properly working (on refresh it enables again) ...so why is that...?
I can enable it by writing a javascript on page load.. but I want to know the reason for that..? Is there any special effect for text fields..?
Thanks..
janaka priyadarshan