jquery select by name attribute
$('[name="ElementNameHere"]').doStuff();
jquery select by name attribute
$('[name="ElementNameHere"]').doStuff();
get attribute value jquery
var some_var = $( some_jquery_selector ).attr( 'some_attribute_name' );
jquery get element attribute
$( "div" ).data( "role" ) === "page";
$( "div" ).data( "lastValue" ) === 43;
$( "div" ).data( "hidden" ) === true;
$( "div" ).data( "options" ).name === "John";
jquery get element attribute
<div data-role="page" data-last-value="43" data-hidden="true" data-options='{"name":"John"}'></div>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us