Hi, I'm using shift js for all my web conent but the javascript alert comeout with all the code e.g. &1234; Has anyone done this before.. The page contents in perfect..
HTML is what encodes things like & not javascript. What you could do, I'm not sure if there's an easier way is to do a replace, like replace & with & and such. Here is an example of code that would replace < with < and > with > var h = "<code>" alert(h); h = h.replace(/</g,"<"); h = h.replace(/>/g,">"); alert(h); Code (markup):