Jquery - Selecting Element based on data-attr

Use the following code to select a tag or field based on data-attr attribute in HTML 5.

$('[data-attr="techdive"]').val();

Search