tapquo / Lungo.js

A framework for developers who want to design, build and share cross device applications.
http://lungo.tapquo.com
Other
2.41k stars 566 forks source link

nav data-control="groupbar" DOM Manipulation #267

Open berthojoris opened 10 years ago

berthojoris commented 10 years ago

http://pastebin.com/wRFPsVsH

How do I manipulate the value of the "data-count" attribute ?? I have tried

But always fails...

trevorgehman commented 10 years ago

I believe you want

Lungo.dom('a[name="now"]').data("count", "100");