jquery - jQM1.4 - enhanceWithin() over-riding data-role="none". Why? -
i'm dynamically injecting data running search on string , inserting links linking glossary, this:
return '<a href="#glossary" data-role="none" class="glossarylink" data-transition="slide">' + match + '</a>'; the returned string appended append() div.
this works fine, usually. because lot of text , page elements dynamically injected have call enhancewithin() on div in order jqm widgets work (like collapsibles).
enhancewithin() giving glossary links classes, don't want. these classes inherited (it seems) , making text buttons , list items , on. want control of how tried data-role="none" , doesn't work.
can help?
Comments
Post a Comment