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
Post a Comment