jQuery, javaScript, with themes

  • Hello guys. Ok, I'm trying to add some standard jQuery to a theme, and it's just not working.

    I'm testing this:

    1. $("h3:contains('quote')").css( "color", "red" );

    I've also tryed

    1. $( document ).ready( function() {
    2. $("h3:contains('quote')").css( "color", "red" );
    3. )};
    1. $("h3").css( "color", "red" );

    None of it works.

    I'm loading jquery before my js/theme.js

    1. <?php $view->script('theme-jquery', 'theme:js/jquery.min.js') ?>
    2. <?php $view->script('theme', 'theme:js/theme.js') ?>

    I've also tried loading jquery from google into the header in settings.

    It seems that everything is loading.

    But it doesn't seem to understand standard jQuery?

    I need to add loads of javascript, and none of it works. I'm getting worried now as I've built an entire site now using pagekit and I'm terrified I'll have to do it all again in wordpress :(

    Can someone please help me? ;(;(X(;(

    Even if you can show me someone elses jquery so I can see what's different.

    Thank you!