DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How Do I Implement an AJAX Tab with a List of Items?

  1. #1
    Join Date
    Aug 2006
    Posts
    2

    How Do I Implement an AJAX Tab with a List of Items?

    I am a complete rookie with AJAX and am trying to add a tab to an existing application that displays a list of items matching a set of criteria set by a series of list boxes on the left of my page. Each list box is populated when an item is selected from the list box above. All of this works.

    Also on the form are about half a dozen AJAX tabs. Each one is populated by an asp page which is just HTML defining a form and some named fields. When someone selects a choice from the bottom listbox, all of the fields on the form on the tab are populated. I see how the former programmer did this and it makes sense.

    What I am trying to implement is a bit different. What I'm trying to implement is basically the result set of a query which has several records. I need to put some header info on the tab and then output a table with the results. I'm having trouble passing a req.querystring to the asp page that produces the report.

    Has anyone seen any AJAX examples that sound like they are close to what I am trying to do? Can you please point me in that direction? I would appreciate it very much.

    Regards,
    Eric

  2. #2
    Join Date
    Aug 2003
    Posts
    313
    I'm not sure that I understand what it is that you're trying to do. Do you just need to know how to pass a GET parameter with AJAX? To do that, you should just append it to the request, e.g. http://www.host.com/query.asp?search=term. You can also send POST data using AJAX. Take a look at http://www.devarticles.com/c/a/XML/X...-using-AJAX/4/ for more information.

    Hope this helps.
    ~evlich

  3. #3
    Join Date
    Aug 2006
    Posts
    2
    I was able to get this to work. I was not understanding the sequence that things were happening in and once I did, I got my code to work. Thanks for answering.

    Gandalf

Similar Threads

  1. Replies: 6
    Last Post: 04-15-2002, 02:05 PM
  2. ListBot Going Out of Business
    By Larry Rebich in forum vb.announcements
    Replies: 1
    Last Post: 06-28-2001, 01:22 PM
  3. Swap items in two way linked list - Help!
    By LordByte in forum Java
    Replies: 3
    Last Post: 05-29-2001, 08:28 AM
  4. Color of items in combobox list
    By Andrew in forum VB Classic
    Replies: 6
    Last Post: 09-12-2000, 02:59 PM
  5. Color of items in combobox list
    By Andrew in forum VB Classic
    Replies: 0
    Last Post: 09-11-2000, 04:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center