I'm trying to append a space using jQuery. Neither of these samples work:
$("#mySelector").append($(" ")); $("#mySelector").append($(" "));
Any ideas?
I'm trying to append a space using jQuery. Neither of these samples work:
$("#mySelector").append($(" ")); $("#mySelector").append($(" "));
Any ideas?
Untested (and probably a bit overkill):
$("").append($("<p> </p>").text());