This repository was archived by the owner on Aug 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
josh-oiknine/data-dash-jquery-plugin
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
==================================================================================== Data Dash jQuery Plugin ==================================================================================== Created by Josh Oiknine. @joshOiknine ==================================================================================== Thank you for downloading the Data Dash jQuery Plugin. Instalation & usage: <html> <head> <script src="/js/1.5/jquery.min.js"></script> <script src="/js/datadash.jquery.js"></script> <script> $(function(){ alert( $('#element').datadash('title') ); // alerts "my value" $('#element').datadash('title', 'new value') ); // sets title to "new value" }); </script> </head> <body> <div id="element" data-title="my value"> ... </div> </body> </html> ==================================================================================== Note when calling the datadash function you don't need to include the data- portion of the attribute in order to save time and code. ==================================================================================== GPL license: http://www.gnu.org/licenses/gpl.html MIT license: http://www.opensource.org/licenses/mit-license.php
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published