how to input symbols through JQuery <p>i'm using JQuery and aJax with PHP to insert some data to database </p> <p>but I have a small problem, when i insert data contain (&amp;) symbol .. database read the text before (&amp;) ..</p> <p>for example .. if the title is ( Sun &amp; Moon ) . it saves it as : (Sun) only .. how can i solve it ?</p> <p>so this is my code :</p> <pre><code>&lt;script type="text/javascript"&gt; $(document).ready(function(){ $('#submit').click(function(){ $('#result').fadeOut("fast"); $('#wait').fadeIn("slow").delay(1000); var number = $("input#number").val(); var title = $("input#title").val(); var dataAll = 'number='+ number + '&amp;title=' + title ; $.ajax({ url: "../insert/add_module/", type : "POST", data : dataAll, dataType :"html", success : function(msg){ $('#wait').fadeOut("fast"); $('#result').fadeIn("slow"); $('#result').html(msg) } }); }); }); </code></pre> <p></p>