Can help me please with a jquery object problem.
The problem is the following, I have this code:
url = '<a href="http://url.com">Name</a>';
otherValue = "Other Value";
x = jQuery(url).text(otherValue);
console.log(x);
console.log(typeof(x));
This return :
[<a href="http://url.com">Other Value</a>]
object
How I make for cast this object and finally get a string?
Thank's
<a href...?