How To Find And Replace Text Url With Links In Jquery
Hi I want to find text url in my editor and convert them to anchor tag links using jquery. here is my code function urlify(text) { var urlRegex = /^(https?:\/\/)?([\da-z\.
Solution 1:
Since .text()
is a function you need to use ()
when you want to invoke it.
$("#queEditor").text(); //Notice ()
Post a Comment for "How To Find And Replace Text Url With Links In Jquery"