Can I use multiple versions of jQuery on the same page?

Yes, it’s doable due to jQuery’s noconflict mode. http://blog.nemikor.com/2009/10/03/using-multiple-versions-of-jquery/ <!– load jQuery 1.1.3 –> <script type=”text/javascript” src=”http://example.com/jquery-1.1.3.js”></script> <script type=”text/javascript”> var jQuery_1_1_3 = $.noConflict(true); </script> <!– load jQuery 1.3.2 –> <script type=”text/javascript” src=”http://example.com/jquery-1.3.2.js”></script> <script type=”text/javascript”> var jQuery_1_3_2 = $.noConflict(true); </script> Then, instead of $(‘#selector’).function();, you’d do jQuery_1_3_2(‘#selector’).function(); or jQuery_1_1_3(‘#selector’).function();.

Send POST data using XMLHttpRequest

The code below demonstrates on how to do this. var http = new XMLHttpRequest(); var url=”get_data.php”; var params=”orem=ipsum&name=binny”; http.open(‘POST’, url, true); //Send the proper header information along with the request http.setRequestHeader(‘Content-type’, ‘application/x-www-form-urlencoded’); http.onreadystatechange = function() {//Call a function when the state changes. if(http.readyState == 4 && http.status == 200) { alert(http.responseText); } } http.send(params); In … Read more