B4J Question Button_click event using Jquery

EvgenyB4A

Active Member
Licensed User
Longtime User
I have HTML page where the button is created with CSS and defined as <button class="submitbutton">Submit</button>.
I use wesbocket and Jquery.

Then after pressing on Submit button - submitbutton_Click is not invoked.

When I define button id="submitbutton">Submit</button> - submitbutton_Click does invoked but the button has no style.

How to handle with button class?
 

DonManfred

Expert
Licensed User
Longtime User
submitbutton_Click does invoked but the button has no style.
What about
HTML:
<button id="submitbutton" class="submitbutton">Submit</button>
You are not limited to have multiple tags inside a html-entity. How they work may depend on the javascript used.
 
Upvote 1
Cookies are required to use this site. You must accept them to continue using the site. Learn more…