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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:43:54+00:00 2026-06-04T22:43:54+00:00

I download Jquery UI autoload, looking to remote-jsonp.html. This is ajax function but i

  • 0

I download Jquery UI autoload, looking to remote-jsonp.html. This is ajax function but i open console.. I can’t see any request in my console…

What is difference between dataType;”jsonp” and dataType;”JSON”

$( "#city" ).autocomplete({
        source: function( request, response ) {
            $.ajax({
                url: "http://ws.geonames.org/searchJSON",
                dataType: "jsonp",
                data: {
                    featureClass: "P",
                    style: "full",
                    maxRows: 12,
                    name_startsWith: request.term
                },
                success: function( data ) {
                    response( $.map( data.geonames, function( item ) {
                        return {
                            label: item.name + (item.adminName1 ? ", " + item.adminName1 : "") + ", " + item.countryName,
                            value: item.name
                        }
                    }));
                }
            });
        },

Reference http://jqueryui.com/demos/autocomplete/remote-jsonp.html

  • 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-04T22:43:55+00:00Added an answer on June 4, 2026 at 10:43 pm

    dataType: jsonp for cross-domain request, that means request to different domain and dataType: json for same domain-same origin request.

    Loads in a JSON block using JSONP. Adds an extra “?callback=?” to the
    end of your URL to specify the callback. Disables caching by appending
    a query string parameter, “_=[TIMESTAMP]”, to the URL unless the cache
    option is set to true.

    Read about same origin policy

    Read more about jQuery AJAX

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

Sidebar

Related Questions

On document ready I run this code: jQuery(document).ready(function(){ jQuery('#button').click(function() { jQuery('#contact_form').load(/Users/mge/Downloads/jquery-ajax-1/readme.txt); return false; });
I'm looking for this plugin: http://plugins.jquery.com/node/7411 It seems like it's not available for download
I can't find the download link from this plugin: http://plugins.jquery.com/project/jgfeed Can somebody help me?
I've read that there is no way that JQuery can download a file directly,
If I download multiple JQuery themes how can I give the users of my
I was using JQuery in this download link, and included it in the head
Below is an existing jquery code in our code base. $(#download_).click( function() { $(#error).html('');
I have this Jquery AJAX request to process the creation of Word documents (using
I am using jQuery auto-complete. I have download this script from http://code.google.com/p/jquery-autocomplete/ . I
Is there a way to download the page using javascript/ajax functions except for jQuery?

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.