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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:34:19+00:00 2026-06-14T13:34:19+00:00

Inexplicably, web pages that were rendering and functioning correctly have stopped working. As far

  • 0

Inexplicably, web pages that were rendering and functioning correctly have stopped working. As far as I know, I am using the same browser (Chrome v. 23.0.1271.64) that I was using before, same JQuery, etc. I tried upgrading JQuery to the latest version and I still have this problem. When I click on “Read Later” I see the message “Uncaught ReferenceError: foo is not defined index.html:14 onclick”

When I comment out the Jquery include, it works.

I’ve tried in Firefox and I get the same results.

Here’s my web page:

<html>
  <head>
    <title>Kanban2go API Test Page</title>
      <script src="lib/jquery-1.8.3.min.js"/>
      <script>
          function foo(event) {
              console.log("Foo!")
              return true;
          }
      </script>
  </head>
  <body>
    <form action="#">
      <input type="submit" value="Read Later" onclick="foo(event);"/>
    </form>
  </body>
</html>

EDIT:

Thanks for all the replies. I up-voted all the answers pertaining to my question, but I can only accept one.

  • 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-14T13:34:20+00:00Added an answer on June 14, 2026 at 1:34 pm

    Always use </script>. Never self-close a script tag:

    <script src="lib/jquery-1.8.3.min.js"></script>
    <script>
              function foo(event) {
                  console.log("Foo!")
                  return true;
              }
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a 2010 project that is targeting .NET v3.5. Inexplicably I can no
I'm working on a scraper using xpath, but xpath seems inexplicably incapable of retreiving
This has inexplicably started happening within the last 6 months or so. This same
I have an image that is 480x270. In theory this should occupy all the
Greetings all, I’m working on a C# program that requires being able to get
I had a program that worked properly with Mac OS 10.6 but inexplicably fails
I am using FileMaker (FMP 11) to display a webviewer (which, as far as
I was looking up the getopt command and I discovered that using the function
I have the version of NuGet that comes with MVC3 (1.0), but when I
I'm working on an HTML e-mail and have run into an issue ( go

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.