function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Hemendra Singh RajawatHemendra Singh Rajawat 

What is the diff b/w commandButton's onClick and <a> tag's onClick?

When using the commandButton's onClick attribute the URL changed but the in the case of <a> tag's onClick the URL doesn't change, both the onClick attribute are calling a javascript function and that function is calling an apex controller function with the help of actionFunction.
As I have to do work on the same page using rerender attribute, how can I resolve this issue?