Can i use name of element in javascript even ?
for use id="xxx"
, we use
$('#xxx').prop('readonly', true);
And for class="xxx"
, we use
$('.xxx').prop('readonly', true);
I want to know can we use name="xxx"
in javascript even ?
Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...
No comments:
Post a Comment