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 3211836
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:46:32+00:00 2026-05-17T14:46:32+00:00

I’m very new to jQuery and javascript in general, so maybe there’s something I’ve

  • 0

I’m very new to jQuery and javascript in general, so maybe there’s something I’ve missed.

I have a html page with a link to the latest version of jQuery in the head…

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

But any jQuery code that I try to execute anywhere… in the head or a separate .js file, won’t run when I load the page. However normal javascript does.

Firebug acknowledges that the jQuery library has loaded when I click Script or Dom… the console will even accept and run my jQuery code with no hassles.

Here’s the html… yes it is html5 and it works fine all browsers besides Opera and IE.

<!DOCTYPE HTML>
<html>
    <head>
        <title>Produkshunator</title>   

        <link rel="stylesheet" type="text/css" href="styles/layout.css" />
        <link rel="stylesheet" type="text/css" href="styles/skins.css" />
        <link rel="stylesheet" type="text/css" href="styles/formlayout.css" />  
        <link rel="stylesheet" type="text/css" href="styles/index.css" />

        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>  
        <script type="text/javascript" src="scripts/json2.min.js"></script>
        <script type="text/javascript" src="index4.js"></script>

    </head>

    <body class="vbox flex">

      <!-- header ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

        <header class="hbox">
            <div class="hbox flex" style="padding-top: 5px;">
                <img src="icons/Produkshunator.png" style="height:60px;width:490px;"/>
            </div>
            <div id="login_status" style="width:150px;"></div>  
        </header>

      <!-- body ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

        <div class="flex hbox">



<!-- Forms ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->              

                <section class="vbox right" style="width:400px; padding:0; overflow: visible;">

    <!-- Login Form ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->

                <form class="flex sleek"
                      name="login"
                      id="login">

                    <h2 class="r">Login</h2>

                    <div>   
                        <label>Email:</label>
                        <input type="email" name="email"/>
                     </div>
                     <div>
                        <label>Password:</label>
                        <input type="password" name="password"/>
                     </div>
                     <div>                       
                         <input type="button" value="Submit" class="form_butt" />
                     </div>
                     <p><i id="log_error" class="error"></i></p>    
                </form>


    <!-- Registration Form ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->   

                <form class="sleek flex"
                      name="register"
                      id="register">
                    <h2 class="r">Register</h2>

                      <div>
                         <label>First Name:</label>
                         <input type="text" required="flag" name="firstname"/>
                      </div>
                      <div>
                         <label>Last Name:</label>
                         <input type="text" required="flag" name="lastname"/>
                      </div>
                      <div>
                         <label>Email:</label>
                         <input type="email" required="flag" name="email"/>
                      </div>
                      <div>   
                         <label>Password:</label>
                         <input type="password" required="flag" name="password"/>
                      </div>
                      <div>   
                         <label>Retype Password:</label>
                         <input type="password" required="flag" name="password2"/>
                      </div>
                      <div>
                          <input type="button" value="Submit" class="form_butt" />
                      </div>        
                      <p id="reg_error" class="error"></p>  
                </form>

            </section>

        </div> 

    </body> 
</html>

Is there something I need to know that isn’t in the tutorials?

  • 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-05-17T14:46:33+00:00Added an answer on May 17, 2026 at 2:46 pm

    Try putting your code inside

    $(document).ready(function(){    
        // Your code goes here    
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

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.