Sunday, 8 September 2013

Symbols using Jquery .get() not showing up

Symbols using Jquery .get() not showing up

I use $.get() to reload my page every so often, I do this because there
are timers that count down showing when something is due and this works
better than an actual page refresh and .load() would not work, however the
symbols on the page ™ µ do not load there is only a tiny square box
instead. Is there some way to get them to load properly? The symbols are
from copy righted names of products. Theses names are pulled from a
programs database and they show up fine until the $.get() is loaded.
setTimeout(function() {
var loc = window.location;
var pathName = ".."+loc.pathname.substring(43,
loc.pathname.lastIndexOf('.') + 4);
$.get(pathName, function(data) {
$('#pagebody').html(data);
There is the coder that i'm using the $.get() in

No comments:

Post a Comment