sufee-admin-dashboard
sufee-admin-dashboard copied to clipboard
Can't trigger a $(document).ready(function(){
Hi.
I've added some buttons to the template and I need to assign a specific function to each one using
$(document).ready(function(){ $("#mybutton").click(function(){ alert('hello this test'); }); });
But when I press my button...nothing happens.
Am I doing something wrong?
I've had some issues with this too, solved with
jQuery(document).ready(function(){
jQuery("#mybutton").click(function(){
alert('hello this test');
});
});