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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:12:39+00:00 2026-05-15T18:12:39+00:00

in jquery 1.3.2 for jsonp requests i used to this var _options = {

  • 0

in jquery 1.3.2

for jsonp requests i used to this

var _options = {
        url: 'someexternal_url',
        type: 'GET',
        dataType: 'jsonp',
        success:_aSucFnToHandle,
        error: _anErrFnToHandle
    };

    $.ajax(_options);// this ignores any error if occurs on url

so i added below script and changed my ajax request

<script type="text/javascript" 
     src="http://jquery-jsonp.googlecode.com/files/jquery.jsonp-1.0.4.min.js">
</script>

$.jsonp(_options); // with this i can handle error if any occurs on url

My questions are:

  1. is there any improvement in
    jquery 1.4.2 to handle error in
    jsonp request or how do u handle
    error if occurs while making jsonp
    request
  2. list of security loop
    holes in jsonp request
  • 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-15T18:12:40+00:00Added an answer on May 15, 2026 at 6:12 pm

    For #1: Not yet, but you should revisit http://code.google.com/p/jquery-jsonp/ because it’s up to version 2.1.x now 😉

    As for #2, yes, there are loop holes as you give complete access to your javascript VM to a third-party (which could lead to data stealing). It’s all about how trusty the JSONP provider actually is. Though, in the end, it’s no different than remote linking third-party scripts.

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

Sidebar

Related Questions

Is it possible to catch an error when using JSONP with jQuery? I've tried
Jquery has a great language construct that looks like this: $(document).ready(function() { $(a).click(function() {
I used to be pretty comfortable with using jquery for json, but I'm having
I'm trying to implement something like a photo carousel in jQuery. This carousel could
I've got a jquery json request and in that json data I want to
We have an application with a good amount of jQuery JSON calls to server
I am trying a straightforward remote json call with jquery. I am trying to
I'm having difficulty parsing some JSON data returned from my server using jQuery.ajax() To
I couldn't find anything about getting the total JSON record count using jQuery. Here
I am using PHP, jQuery, and JSON. Now I need to know how to

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.