You need to sign in to do that
Don't have an account?
Bhakti Gujarathi
Disabling a lookUp inputfield on vf page
I have this scenario, where I need to disable the lookup field on vf page on click of a command button. I am able to disable the input field but not the lookup icon. It is still working. I want it to be displayed on page but in disabled mode.
Use below code for disable the icon of lookup:
Thanks.
$j('[id$=accountInput_lkwgt]').children().removeClass('lookupIcon');
Thanks for help. I just removed the lookup class from that input field.
If you remove the icon class then the "Icon" will not display.
But you said that "I want it to be displayed on page but in disabled mode."
So I thing you need to use this code for disable Thanks