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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T00:41:21+00:00 2026-05-16T00:41:21+00:00

I have two pages we will call page A and Page B. Page A

  • 0

I have two pages we will call page “A” and Page “B”. Page A in the root of the server which does not have any ASP access, while page B can do ASP cause it is not in the root directory.
What I need to do via ajax is to send a request to Page B from Page A to get the day of the week from the server and put it in a variable for further testing on Page A.

This is what I have so far on each page. The code is obviously incomplete on both pages but I am stuck on what to do next or if I am even going in the right direction.

Page A code…

$.get("/v/vspfiles/date.asp");

Page B code…

<%@LANGUAGE="VBSCRIPT"%>
<% Option Explicit %>
<%=WeekDayName( Weekday( Date ) )%>

I see the ajax call and response in firebug so I know that part is working but do not know how to do the rest, Any help is appreciated.

  • 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-16T00:41:21+00:00Added an answer on May 16, 2026 at 12:41 am

    I hope I understood your question correctly, but if you want to get the text response of “/v/vspfiles/date.asp” then the correct way is:

    $.get("/v/vspfiles/date.asp", null, function(response) {
       /* Here you can use response, which will contain the page's text */
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok. So I have two elements on a page which are not located in
I have two pages, on the first page after an event happens I change
I have two pages that inherit from one master page, First.aspx or second.aspx. Navigation
Currently I have two pages: The first page contains an input form, and the
lets say i have two pages links.html & contents.php ... first page contains only
I have two pages one is the main page and the another one is
I have a wicket page , which contains two Spring-managed beans , one is
My homepage (or welcome page) will consist of data from two models (lets call
I have one web page MyWebPage.aspx which while loading has to show data from
Here is my scenario: I have a mobile application, which will call a method

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.