Removing round corners from the button in jquery mobile
- by user1435731
I have following button markup in a single/multiple page jquerymobile page template.
<a href="#" data-role="button" data-icon="arrow-r" data-iconpos="right" >About Us</a>
I need to disable the round corners of this button using the button option as given in the jquerymobile docs.
I have tried $('a').buttonMarkup({ corners: "false" }) in every events such as pagebeforecreate, pageinit, pagecreate and mobileinit
I never got it working and have been struggling with it to make it for quite a long time. I dont want to use data attribute data-corners="false" for now.
Please suggest any ideas