Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

comparing html text by using jquery

$.trim($("#activeUser").text()) == 'Hello World';
string 'Hello World' should be same as html text
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #comparing #html #text #jquery
ADD COMMENT
Topic
Name
2+5 =