javascript - how to get element attributes (i.e id,name,style,etc) values -
javascript - how to get element attributes (i.e id,name,style,etc) values -
i have no thought what do. need id of control(element/tag),
when key on command . if more attributes(name,style,etc) exist attribute values also.
thank you.
according jquery: id class selector
$('.clsname').click(function() { alert( this.id ); }); i have tested properly.
javascript jquery
Comments
Post a Comment