Trigger a button click on a moon.Button or moon.IconButton with jQuery/Javascript directly

I know the click action can be triggered by assigning ontap a specific function like so:
kind: "moon.Button",name :"search_button",  
content : "Search" , ontap : "searchAction", classes: "menu-button-style"
searchAction : function(){ //do some stuff on click}

I've tried

and none of those seem to work.

Any ideas


Sign In or Register to comment.