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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:30:11+00:00 2026-05-31T07:30:11+00:00

I am persisting the data in a textbox before redirecting the page to another.

  • 0

I am persisting the data in a textbox before redirecting the page to another. When the user clicks the back button in the page load function of the page (in javascript) I am getting the data from the textbox like

var pageval = $('#grid')
 .load('/Dealer/AllClaims?page=5&__=634673230919806673 #grid', CallBackFunction);

I want to send an AJAX call by using the URL from the above data. I.e from /Dealer/AllClaims?page=5&__=634673230919806673 #grid. So I replaced the ‘pageval’ unnecessary data with (.replace()) in javascript. Now I store it as

var urlmain = '/Dealer/AllClaims?page=5&__=634673230919806673 #grid';

When I send an AJAX call with this ‘urlmain’ like

$.ajax({
    type: "GET",
    url: urlmain,

    success: function (data) {
        $("#allclaimsdiv").html(data);
    },

it throws error like ‘status not found’ as the URL is like

http://localhost:46408/Dealer/%22Dealer/GetDealerClaims?page=3&__=634673387913756213

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

The above bold data is there in the URL before users click on the back button. I think it is concatenating the data.

But for testing purpose I had given directly the URL as:

$.ajax({
    type: "GET",
    url: "/Dealer/AllClaims?page=5&__=634673230919806673 #grid",

    success: function (data) {
        $("#allclaimsdiv").html(data);
    },

Then it works fine.

What is the difference between these two? Why doesn’t it work?

  • 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-31T07:30:13+00:00Added an answer on May 31, 2026 at 7:30 am

    you have a problem in the called url:

    first: there is a /22 which stands for a url-encoded doublequote

    second: you have Dealer two times in the url – so you may have to remove /Dealer from your urlmain

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

Sidebar

Related Questions

Is there any other alternative to SQLite in Android for persisting data in the
I'm a little confused on how to use hidden fields for persisting data in
I have a problem with persisting data via play-framework. Maybe it's not possible to
In my Blackberry app I'm persisting data in a folder called mydata in the
I have a class of data that I am persisting using JDO on GWT
Hey guys, What is the best mechansims for persisting viewmodel data from one controller
In my web application I am using sessions for storing the user specific data
Will declaring a dataset as STATIC in ASP.net website help in persisting data across
If you have been successful in persisting your data, which type of stream did
What are my different options of persisting data entered in an iPhone application? NSUserDefaults:

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.