Where to add a redirect in my jquery
<p>I have a conditional statement that I need to add a redirect depending on what conditional statement is met and I have no clue how to proceed. I am using the jquery.if plugin as well.</p>

<pre><code>&lt;div id="load"&gt;&lt;/div&gt;
&lt;script type="text/javascript"&gt;
// ** DEMO 1 *************
var b1 = "Wholesale";

$("#load")
    .IF(b1 == "Wholesale")
    .html ("window.location.href = 'http://stackoverflow.com/questions/503093/how-can-i-make-a-redirect-page-in-jquery';")

    .ELSE()

    .ENDIF()    




&lt;/script&gt;
</code></pre>
