character encoding - When I use UTF-8 instead of ISO-8859-1, jquery's dialog stops working -


i've been working on own website - http://rapcities.com (warning - song plays automatically)

i added legal text need site, , found there lots of random unwanted characters appearing (such Â, â, , ¨). searching led me change character encoding of site utf-8 - though none of text in site uses non-western characters.

changing encoding fixes problem, brings larger one. whenever site displayed utf-8 character encoding, jquery dialog no longer works on site.

the dialog should appear automatically when site first opens (with artist biography). dialog should appear when clicking on dmca/terms of service/privacy policy links, , third should appear when clicking basket hearts inside @ top right corner of site.

i thoroughly confused going on - both in regards original problem , new one. have ideas?

best,
sami

i unterminated string literal error message in console when go page. points switch statement in showlegal(number) function.

instead of putting whole bunch of html in javascript string, i'd put in hidden <div>. then, jquery dialog script can reference dom element rather forcing debug giant, nasty html string.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -