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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:55:05+00:00 2026-05-26T11:55:05+00:00

I am using a URL rewrite and using $(‘#somediv’).load(query, function (response, status, xhr) {

  • 0

I am using a URL rewrite and using

 $('#somediv').load(query, function (response, status, xhr) {
    if (status == "error") {
        var msg = "Sorry there was an error: ";
        $("#somediv").html(msg + xhr.status + " " + xhr.statusText);
    }
});

But the div.laod() wont work when my query has character like ‘?’,’&’ and ‘=’.
As in when I pass parameters as shown beloew, div rendering wont happen .

query ="http://vmsbawcm001.ed.cps.something.com/content/pms/Snapshot.html?date=2011-09-30&email=something@gmail.com&view=external"

But this works!

 query ="http://vmsbawcm001.ed.cps.something.com/content/pms/Snapshot.html"

So How do I pass parameters in some encoded way? or any other solution for this is welcome, coz I am clueless..

After some more research, I have a doubt that it is only the @ symbol which is creating the problem. Is it so? If yes, what is the possible solution fro that?

Thanks,
Adarsh

  • 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-26T11:55:05+00:00Added an answer on May 26, 2026 at 11:55 am

    The second parameter in .load() is for passing query data. Here’s the reference: http://api.jquery.com/load/.

    Demo: http://jsfiddle.net/ThinkingStiff/EKHbQ/

    HTML:

    <div id="somediv"></div>
    

    Script:

    var uri = 'http://vmsbawcm001.ed.cps.something.com/content/pms/Snapshot.html',
        data = {date:"2011-09-30",email:"something@gmail.com",view:"external"};
    
    $( '#somediv' ).load( uri, data, function ( response, status, xhr ) {
    
        if ( status == 'error' ) {
    
            var msg = 'Sorry there was an error: ';
            $( '#somediv' ).html( msg + xhr.status + ' ' + xhr.statusText );
    
        };
    
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone have experience using the URL Rewrite Module (see here )? Can it
I'm using the iis7 URL Rewrite module and it's working fine, except for two
I want to do Url rewrite in Tomcat using UrlRewriteFilter This is the rule
I am trying to rewrite a URL using .htaccess. I am running on Apache
I am using IIRF - an ISAPI rewrite filter for pretty URL's. I haven't
I am using the IIS Url Rewrite module to rewrite urls for my ASP.Net
I'd like to map subdomain.example.com to www.example.com/subdomain using an internal URL rewrite that looks
i am using PrettyFaces as url rewrite library as follows: @URLMappings(mappings = { @URLMapping(id
In my C#/.NET project I'm using the Rewrite URL module. There I have a
I'm using IIS 7.5 on Windows 7 RC. I use the IIS Url Rewrite

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.