Tag : Attr

ItSolutionStuff.com have tutorials for Attr tag, here you can study articles of Attr tag, Attr tag posts collection, most popular and useful tutorials of Attr tag, here you can find list of all relevant posts and example about Attr tag, we have lists of tutorials and examples about Attr tag. very simple and quick example collection of Latest Attr tag.

JQuery - how to get attribute value example

If you are new and you want to get attribute value then you can get easily. sometime maybe we also need to get custom attribute value, i mean data attribute value. In following example i give you three way to get custom attribute value in jquery. <strong class="example">Example:</strong> <pre class="prettyprint lang-html"> <html lang="en"> <head> <title>Get Custom Attribute Value</title> <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> </head> <body> <a href="example.com" data-id="1" myname="hd">Ex.....

By Hardik Savani | April 14, 2016 | | 11627 Viewer | Category : Javascript jQuery