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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:39:28+00:00 2026-05-17T15:39:28+00:00

I am having some trouble sending values from one page to another using the

  • 0

I am having some trouble sending values from one page to another using the jQuery ajax() function.

For some reason the request.form on my VBscript page won’t pick up the data I send using the ajax() function in jQuery.

Here is my javascript function which is called in an onsubmit event in my form:

function sendData() {
 $.ajax({
  type: "POST",
  url: "/useData.asp",
  data: {
   newData: $("form[name=myData] [name=newData]").val()
  },
  success: function(response) {
   $("#responseData").html(response);
  },
  error: function(xhr) {
   alert("Error: " + xhr.status);
  }
 });

 return false;
}

And here is my VBscript:

<%=request.form("newData")%>

For some reason when I use POST I don’t get any data returned in the responseData div.
But if I change POST to GET and request.form to request.queryString I get my data as I should do.

Can anybody tell me why POST and request.form are not working?

  • 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-17T15:39:29+00:00Added an answer on May 17, 2026 at 3:39 pm

    I found my problem.

    We are using IIS7 and have used some of the pre-defined URL rewriting rules in the URL rewrite module.

    It seems that enforcing lowercase URLs causes a lot of problems with this kind of stuff, so I deleted the lowecase URLs rule from the site in IIS7 and it works fine now.

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

Sidebar

Related Questions

Having some trouble passing values from one class to another. I basically have a
Having some trouble sending properly formatted HTML e-mail from a PHP script. I am
I'm having some trouble sending a file by ftp from my BizTalk 2006RC. The
having some trouble passing a function as a parameter of another function... ERROR: Error
I'm having some trouble sending along more than one variable to the view. my
Im having some trouble reading xml files using jquery that containts swedish chars (åäö)
Basically having some trouble with using Hover to hide or show an item. The
Im having some trouble writing a getstring function, this is what I have so
I'm having some trouble getting log4net to work from ASP.NET 3.5. This is the
I'm having trouble sending data to a different view using the prepareForSegue method… I

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.