Tagged: onclick
Heya,
how can i apply onClick actions like below to my button elements (avia advanced layout builder)
<FORM><INPUT Type=”button” VALUE=”Back” onClick=”history.go(-1);return true;”></FORM>
thanks!
Hi Mac_Gyver!
Thank you for using our theme.
Out of the box – no, because the button is realized with a
<a href="..."> tag
You need to modify enfold\config-templatebuilder\avia-shortcodes\buttons.php line 276 ff.
You can add a unique custom CSS class to the button and add an ‘on_click’ event with jQuery to this class
Cheers!
Günter