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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:10:46+00:00 2026-05-31T22:10:46+00:00

I am following this example to get JSONP data from remote server. jQuery append

  • 0

I am following this example to get JSONP data from remote server. jQuery append its own callback function while sending request like
http://url.com?callback=jQuery17107389513931702822_1332765044455&_=1332765051700

But the source is replying JSONP data in a fixed format as REPYL$queryString({“data”:”abc”}) where queryString is the string for which reply is generated.
How to customize the options to support my own callback name? The error which I am getting right now is

 Uncaught ReferenceError: REPLY$querystring is not defined.

UPDATE

setting which worked for me are:

jsonp:false,
jsonpCallback:"CALL_BACK_NAME",
  • 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-31T22:10:48+00:00Added an answer on May 31, 2026 at 10:10 pm

    Use the jsonp setting in the .ajax request of the example you are using:

    jsonp

    Override the callback function name in a jsonp request. This value will be used instead of ‘callback’ in the ‘callback=?’ part of the query string in the url. So {jsonp:’onJSONPLoad’} would result in ‘onJSONPLoad=?’ passed to the server. As of jQuery 1.5, setting the jsonp option to false prevents jQuery from adding the “?callback” string to the URL or attempting to use “=?” for transformation. In this case, you should also explicitly set the jsonpCallback setting. For example, { jsonp: false, jsonpCallback: “callbackName” }

    jsonp: 'YOUR-CALLBACK-NAME'
    

    See the .ajax documentation

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

Sidebar

Related Questions

Ideally I want a function something like the following (this example doesn't compile): void
Take the following example plugin: (function($) { $.fn.alertOnClick = function(text) { return this.each(function(){ $(this).click(alert(text));
I have the following data: [{class:test,description:o hai,example:a,banana:b}] As this JSON data is already in
I'm trying to use jQuery.post() function to retrieve some data. But i get no
I've written the following code to get JSON data with a POST request. $.post(http://example.com/songs/search_api/index.php,
Following this example, I can list all elements into a pdf file import pyPdf
I'm following this example: http://www.codinghorror.com/blog/2005/12/getting-started-with-indexing-service.html However, the conversion to dataset shows empty columns for
This is just an example, but given the following model: class Foo(models.model): bar =
I initially designed my system following the s# architecture example outlined in this codeproject
This confuses me. The following compiles fine under Eclipse. package com.example.gotchas; public class GenericHelper1

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.