jquery - How can I test if a JQM form element is Enhanced? -


I am trying to check the program if a form element is 'extended' to the default markup. I realize that I can cross the dom and search for a field contents or other JQM specific attributes or tags, but is this a better way?

Since each form element is different in markup, I was expecting a way

  $ ('# myformelementid'). Advanced> 

Are you asking for a way to use the property through a custom function? I think you should be able to use it:

  // before your widget logic $ .fn.extend (advanced: function () {this.jqmData ('advanced ')}}});  

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -