Hello, I'm trying to load an external HTML file and encode the < with <.
I've tried a number of different approaches but I haven't found the proper method yet. Here are a few examples of how I've approached this.. $("#thisDiv").load("../sample.html"); $("#thisDiv").text("<").replaceWith("<"); __ $("#thisDiv").load("../sample.html").text(); $("#thisDiv").text().html(); __ $("#thisDiv").load("../sample.html").text(); $("#thisDiv").text().replace(/</g,'<'); Any suggestions or ideas?