get id from element in string
get id from element in string
I have an element tag stored in a variable:
var bla = '<img src="path/to/image.jpg" name="something" id="myid" />';
Is there a way to get that id from that var??
Topic Participants
ahisdumb
Kevin Boudloche