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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:39:18+00:00 2026-05-24T04:39:18+00:00

I want to grab some elements of a page using jQuery and ajax…no problem.

  • 0

I want to grab some elements of a page using jQuery and ajax…no problem. However, the elements do not appear until a user clicks a button in the form, so essentially I cannot pull anything off the page unless that is executed. Anyone know how this can be achieved? I will post samples and what I am trying to accomplish.

I want to pull data from all orders 12 months previous (value=12). This is the form that is given on the page:

<form action="" method="post" name="form2">       
  <table>
    <tbody><tr> 
      <td align="center"><span><b>Order History</b></span></td>
    </tr>
    <tr> 
      <td> 
        <table>
          <tbody><tr>      
            <td width="235"> 
<select name="date">
<option selected="" value="1">Orders placed in the past 1 month</option>
<option value="3">Orders placed in the past 3 months</option>
<option value="6">Orders placed in the past 6 months</option>
<option value="12">Orders placed in the past 12 months</option>
<option value="2011"> Orders placed in 2011</option>
<option value="2010"> Orders placed in 2010</option>
<option value="2009"> Orders placed in 2009</option>
</select>
            </td> 
            <td width="43"> 
          <input type="image" border="0" src="v/vspfiles/templates/4/images/Template/btn_go.gif" name="imageField">
            </td>
          </tr>
        </tbody></table>  
  <br>
</form>

Once the data is displayed, the url does not change so it is still ‘/orders.asp’, but I want to then grab that data using ajax. Is this possible?

Right now one has to go to their My Account page, then they have to click a link which takes them to their Orders page where this form is located. I want to automatically display thier most recent orders on their My Account page.

  • 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-24T04:39:19+00:00Added an answer on May 24, 2026 at 4:39 am

    I’m not clear where you’re stuck.

    One can wire some JavaScript that will execute when the user selects any of the options (eg.12)

    The Javascript can initiate an Ajax call – this retrieves some data

    The ajax call hits a service on the server that gathers some data , which should be just data, not HTML

    When the Ajax call completes some more javascript can look at the response, and manipulate the DOM in the browser to present the data.

    From your question I can’t figure out where you need the help.

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

Sidebar

Related Questions

I want to use some kind of XML filtering, using javascript w/ jQuery. I'm
I am trying to grab some role information, the first node however does not
Not sure if this is possible. I want to grab the latest X stories
using simplexml to parse a feed, but I want to grab the date of
So I'm using this pretty standard jquery plugin pattern whereby you can grab an
I have a string 'some.file.name',I want to grab 'some.file'. To do that,I need to
Hey, I have 10 ul.rating elements on my page. I want to refresh those
If I want to fetch a form, then grab some button, then attach some
I want to place the jquery dialog box where the user clicks on the
I want to be able to occasionally programmatically grab some data from the graph

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.