$jq = jQuery.noConflict();//This line allows $ to be assigned to prototype, and $jq assigned to jquery $jq(document).ready(function(){ $jq.post('ajax--record_screen_size', {width:screen.width, height:screen.height}); });