Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

html string to object jquery

var dom_nodes = $($.parseHTML('<div><input type="text" value="val" /></div>'));

alert( dom_nodes.find('input').val() );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #html #string #object #jquery
ADD COMMENT
Topic
Name
4+2 =