title: CSS, Java script not working properly after ajax call in php
body: <p>I have called an ajax  function in php page which works correctly and gives output as per requirement, but after ajax call, it does not return default css and javascript property to the Input type select,</p>
  
  <p>Following is the code i have used for ajax call</p>
  
  <pre><code>&lt;script&gt;
  function ajax_call(str) {
      if (window.XMLHttpRequest) {
          // code for IE7+, Firefox, Chrome, Opera, Safari
          xmlhttp = new XMLHttpRequest();
      } else {
          // code for IE6, IE5
          xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
      }
      xmlhttp.onreadystatechange = function() {
          if (xmlhttp.readyState == 4 &amp;&amp; xmlhttp.status == 200) {
              document.getElementById("and").innerHTML = xmlhttp.responseText;
          }
      };
      xmlhttp.open("POST","ajaxpage.php?q="+str,true);
      xmlhttp.send();
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>it is returning ajaxpage.php in output, now i have one dropdown in the ajaxpage.php page , which is using choosen.css, choosen.js and multiselect.css as well as multiselect.js, but this dropdown is not working correctly and none of above css and js are working correctly because of above ajax page call, i have applied all the css and js in main page, please help me to solve this problem.</p>