I have a <div>
element that when clicked updates content on a page. How do I go about adding a link with this JS code? I made a JSFiddle of basically my question. Basically the ""
are ending too soon so there must be a character like %20
to do my dirty work. Is it possible?
$("#content").html("<a herf="http://www.google.com">google.com</a>");