1

I need to disable a submit button and innerText by using angularJS, but jquerymobile wrap the input tag in div. If I don't want the wraping,or render the by my self,how can i do that?

regou
  • 23
  • 5

1 Answers1

2

Use

data-role="none" 

as an attribute on that button.

There are several other methods and you can find them here or here, just look for an topic: Methods of markup enhancement prevention

Community
  • 1
  • 1
Gajotres
  • 57,309
  • 16
  • 102
  • 130