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.
<div id="load"></div>
<script type="text/javascript">
// ** 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()
</script>