The html () tag + button reader of jquery cannot be loaded on the mobile phone.

I"d like to have a look at it

$("-sharpbtn").html("<img src="xxxx.png">");
<button id="btn"></button>

what I set is that when the button is pressed, Hello of press-sharpbtn will be replaced by this
, which works on the computer version, but is not seen in the mobile settings.
is there any solution, big gods!

Images can be placed in the button in

HTML5 to see whether the phone supports HTML5


. Write image as a background image into a class, attach this class to btn when click is triggered, and then use .text () to empty the contents.

Menu