ajax value set link code example Example: passing the href in ajax call <a href="javascript:onclickFunction('id')">a</a>