If a user places HTML in a textarea field, how can I check if text inserted is an <object> tag?
If true, I want to assign the src attribute of the <object> to a variable.
What the most efficient way to do this?
<div id="embed">
<textarea>
<object src="..."></object>
</textarea>
</div>
fixed it