Get Content and Attributes
SniperJs contains powerful methods for changing and manipulating HTML elements and attributes.
SniperJs DOM Manipulation
Get Content - text(), html(), and val()
$('#button').text();$('#div').html();$('#firstname').val();Get Attributes - getAttribute()
Click here attr() to see a full document on SniperJS attribute
Last updated