function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Charles McDowellCharles McDowell 

jQuery not working

I can not get jQuery to work.  So I set this test to redirect a page. It does not work.  Can someone identify the problem

<apex:page >
    <!--  TestJava.vfp -->

     <apex:includeScript value="{! $Resource.jQuery }"/>

    <script >
    var returnURL='/apex/Recommendation_Request_Dataview';
        function redirectPage(){
              $(location).attr('href', '{$Page.Recommendation_Request_Dataview}');
        }
    </script>

    
    <apex:form >
    
        <apex:commandButton value="Move" onclick="redirectPage" />

    </apex:form>
</apex:page>