Potrebbe essere un problema di "escape" prova a spulciare qui
Cavicchi Andrea Problemi con javascript, jquery, ajax clicca qui
Regole del Forum