title: Passing parameter with special character not pass in grails
body: <p>While passing parameter in grails with Ajax  ,parameter with special character (&amp;) splits  and not pass completely as i required to pass to the controller.Here in department, there is drop down list of department with special character.when i click the department it split and only before  the special character it passes .but i requires all list name with special character.  </p>
  
  <pre><code>var parameter = "searchPatientString="+searchPatientString+"&amp;type="+type+"                 &amp;searchPatientId="+searchPatientId+"&amp;department="+department;
                   $.ajax( {
                  url: "${createLink(controller: 'allPatient', action:'patientDeptList')}",
                  type : 'post',
                  data : parameter,
                  success : function( resp ) {
                      if(resp=="noValue"){
                          $('#msg').show();
                      }
  </code></pre>