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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:17:07+00:00 2026-06-04T08:17:07+00:00

My jQuery code is not working and in Firebug console it says: jQuery is

  • 0

My jQuery code is not working and in Firebug console it says: “jQuery is not defined”. I have checked jQuery is loading but I still not getting why its showing error.

My jQuery code looks like:

( function($) {
$(document).ready(function() {
$("form#add #divOptionsBlock .item img").css("visibility","hidden");

$('#divOptionsBlock .txtBoxStyle:first').change(function() {

    var fpath = $("#divOptionsBlock .item img").attr("src") ;

    var finalimage = 'http://shop.daactive.com/thumbnail.asp?file='+fpath+'&maxx=300&maxy=0';

    var fpath2 = $("form#add img#large").attr("src",finalimage);

    var imagepath_ahref="http://shop.daactive.com/"+fpath;
    var fpath3 = $("form#add a#listing_main_image_link").attr("href",imagepath_ahref);

    var fpath4 = $("form#add a#listing_main_image_link .MagicBoxShadow img").attr("src",imagepath_ahref);


    var textvalue = $('#divOptionsBlock .txtBoxStyle:first option:selected').text()
    $("#imagecaptiont").html(textvalue);


});
 });    
 } ) ( jQuery );
  • 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-04T08:17:09+00:00Added an answer on June 4, 2026 at 8:17 am

    You did not include jQuery! Add this to your <head> or before the end of <body>:

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have come across the following jQuery code but could not understand it. What
can anybody tell me why is the following code not working? <script type=text/javascript src=../../Scripts/jquery.js></script>
my jquery code not run with IE6 but runs all others including IE7. It
I have the following JavaScript working in IE, but not on Chrome and Firefox.
I asked this morning a question about a jQuery code that's not working (which
i have some jquery code here that works fine in firefox but when i
Why is my jQuery code not increasing the font size? <!DOCTYPE html PUBLIC -//W3C//DTD
jquery.js source code is not being recognised by browser using my page.html served by
I have some jquery code that is doing an ajax lookup and returning comma
I have some jQuery code that highlights a link when clicked, and changes the

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.