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

  • Home
  • SEARCH
  • 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 6824931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:57:38+00:00 2026-05-26T21:57:38+00:00

I have the below JQuery. Nothing happens and I have no idea how to

  • 0

I have the below JQuery. Nothing happens and I have no idea how to debug this othr than using Firebug which is showing no errors. How do I know where it is failing and if its even activating the script in the file? This is being used in an iframe for a facebook app, could this this be an issue? Any help much appreciated.

$(document).ready(function(){
    $('#shopkeeperID').submit(function(){
            var skID = $("#skID").val();
            showLoading();
        sendValue(skID);  
    });

});

function sendValue(str){
        $.ajax({
          type: "GET",
          url: "/var/www/web/shopkeeper/index.php",
          data: shopkeeper=+str,
          success: function(response) { 
          $('#response').html(response); 
            hideLoading();
            //refresh page
          }       
        });         
}       

    //show and hide loading icon
    function showLoading() {
      $("#loading").show();
    }

    function hideLoading() {
      $("#loading").hide();
    }
  • 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-26T21:57:39+00:00Added an answer on May 26, 2026 at 9:57 pm

    I strongly recommend using the console in Firebug. Among many other things, it’s great for debugging jscripts. Shows you what kind of data is being passed and received and is good at identifying errors.

    The problem seems to be what you’re passing in data. You need a key=>value pair and it seems like you’re only passing a value. E.g. data : {'string' : myString}.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this javascript code below that uses jquery, it is suppoed to be
I have a simple bit of jQuery which displays the row below the current
Using jQuery 1.4 to do this. Adding a form to the body tag, nothing
I have this code which I'm using to reveal the Answers to some questions
I have the jQuery below http://jsfiddle.net/XMdYw/7/ var elements = ''; var ELEMENT_COUNT_PER_PAGE = 301;
I am trying to fetch wcf service from jquery. I have written below code
I have some jQuery/JS below. The first thing to run is the alert box
hey everyone, here is the site SEE BELOW I have a slight jquery problem
I have a Jquery Accordion and I have a asp.net GridView below that. When
I have two jQuery functions. The first one below I want to run first,

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.