Why does this jquery .css line not work within 2 functions?
<p>this simple jquery .css statement does not activate within two functions, am I doing something wrong?</p>

<p>javascript:</p>

<pre><code>function updateAllCSS(element, property, value) {

    function updateThemeCreatorCSS(element, property, value) {
        $(element).css(property, value)
    }
    updateThemeCreatorCSS(element, property, value)
}
}

updateAllCSS('h1', 'backgroundColor', '#f00')
</code></pre>

<p>HTML:</p>

<pre><code>&lt;h1&gt;Test header&lt;/h1&gt;
</code></pre>
