Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7846833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:43:20+00:00 2026-06-02T17:43:20+00:00

I am getting error jquery is not defined.. please help me.. jQuery(function(){ jQuery(‘#submitid’).click(function(){ if(jQuery(‘input[id=EnrollmentServiceAddress1]’).val()

  • 0

I am getting error jquery is not defined.. please help me..

 jQuery(function(){
            jQuery('#submitid').click(function(){
                if(jQuery('input[id="EnrollmentServiceAddress1"]').val() != ''){
                    var add2 = jQuery('input[id="EnrollmentServiceAddress2"]').val();
                    if(add2.indexOf('#', 0) && add2 != ''){
                        jQuery('input[id="EnrollmentServiceAddress2"]').val('#'+add2);
                    }
                }
                QadServer.current.submit("#EnrollmentServiceInformationForm");
            });

            jQuery('input[name="residence_type"]').click(function() {
                if(jQuery('input[name="residence_type"]:checked').val() == 'home') {
                    //            jQuery('#add_type').html('Home Number');
                    jQuery('#home_apt').slideUp('slow');
                } else if(jQuery('input[name="residence_type"]:checked').val() == 'apartment') {
                    jQuery('#add_type').html('Apartment Number');
                    jQuery('#home_apt').slideDown('slow');
                }
            });

            jQuery('.qad_suggestion').live('click',function() {
                qad_test();
            });

            jQuery('div[id="change_add"] > span').click(function() {
                jQuery('input[id="EnrollmentServiceAddress1"]').val('');
                jQuery('input[name="residence_type"]:checked').attr('checked', false);
                jQuery('#home_apt').hide();
                jQuery('#change_add').slideUp('slow', function() {
                    jQuery('#validate_add_block').slideDown('slow');
                });
            });

    <?php if($this->Session->check('Enrollment.social_security_number')) { ?>
                //        jQuery('#validate_add_block').hide(); //Old code
                //        jQuery('#change_add').show();
                jQuery('#validate_add_block').show(); //New code
                jQuery('#change_add').hide();
    <?php } ?>
                 init();
             });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T17:43:22+00:00Added an answer on June 2, 2026 at 5:43 pm

    Erro is because jquery file is not loading properly to avoid this Try following code which include the jquery if its not included in your page …

    <script type="text/javascript">
    /******** Load jQuery if not present *********/
    if (typeof jQuery === "undefined" || jQuery.fn.jquery !== '1.4.2') 
    {
        var script_tag = document.createElement('script');
        script_tag.setAttribute("type","text/javascript");
        script_tag.setAttribute("src", "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js")
    
        document.getElementsByTagName("head")[0].appendChild(script_tag);
        } 
    } 
    
    
        $(document).ready(function() {
            alert('jQuery Library Loaded');
        });
      </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am getting a function not defined error with my jquery script and i'm
I'm getting a function not defined Javascript error with the following code, which uses
I am getting the following error, using jQuery POST method in Firefox. Could not
Can anyone tell me why I keep getting a displaymessage is not defined error
EDIT: new error: Error Jquery not defined line: 208 Line 208 in this code:
I'm getting an error of buildXML is not defined when I run this code:
Getting this error with jquery & jquery.form. Site has been live for awhile..upgraded to
I am getting a strange error using jQuery 1.3.2 and Firefox. I have created
I am getting Error in submitting the form using AJAX and Jquery, following is
I am getting JQUERY undefined error. Do you have any idea (code below). <%@

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.