I've looked at this post https://stackoverflow.com/questions/9578013/how-to-unset-a-js-file-from-a-drupal6-installation-doesn%C2%B4t-work-with-remove-sc and this one How can I remove Javascript files?
and I've tried to duplicated it, but it wont work. I am trying to unset the regular jquery version. I've added this inside my phptemplate_preprocess_page function:
$js = drupal_add_js(); unset($js['core']['misc/jquery.js']); $vars['scripts'] = $js;
when I print out $vars, it looks like it worked, but the original jquery is still included!