You need to sign in to do that
Don't have an account?
Magnetism
Disable a button onClick that calls javascript function from where @RemoteAction method in apex Controller is invoked
Disable a button onClick that calls javascript function from where @RemoteAction method in apex Controller is invoked
I am trying to disable a button on meeting a condition. This <Button> helps me invoke a RemoteAction function in VF Controller. Need help in doing this. suggestion and solutions are appreciated.
Thanks
Note: This is not apex command button
I am trying to disable a button on meeting a condition. This <Button> helps me invoke a RemoteAction function in VF Controller. Need help in doing this. suggestion and solutions are appreciated.
Thanks
Note: This is not apex command button
Now when you do this you can use the disabled attribute.
All Answers
You can use below script to disable and enable button.
Please mark it a solution if it helps you and ENJOY APEX.
Now when you do this you can use the disabled attribute.
Avidev9: Your answer worked for me. But I am curious why you have return false; after the remoteMethod();