Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

string to number javascript & remove text

var p = $( "p" ).last();
var offset = p.offset();
p.html( "left: " + offset.left + ", top: " + offset.top );
Source by api.jquery.com #
 
PREVIOUS NEXT
Tagged: #string #number #javascript #remove #text
ADD COMMENT
Topic
Name
2+2 =