DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: little help understanding how query to the server is made

  1. #1
    Join Date
    Apr 2007

    little help understanding how query to the server is made

    Hello Everyone,
    I was hoping I could get a little help understanding ajax from you guys.
    I dont' understand how the actual query is made to the database to get the data u want.

    I want to auto fill some html fields when I select different options from a drop down menu. The drop down options have an id for a 'work order' or 'task' associated with them... when one is selected I want to use ajax to get the number of hours and hourly rate assigned to that work order and get the total. so the query would be (select hours, time from work_order where id=woId)

    I was told by someone else about the prototype framework for ajax and am trying to use that.

    using the prototype library i have this ....
    new Ajax.Updater('estimatedBill_'+dynId,'ajaxRequest.html', {
        method : 'get',
        parameters: {}
    I just dont understand how or where to put my query so that ajax returns the correct information.

    If you can help me using the protype libraries that would be great but any kind of help would be much appreciated.


  2. #2
    Join Date
    Apr 2007

Similar Threads

  1. Replies: 3
    Last Post: 06-02-2006, 09:00 PM
  2. SQL2000 remote SQL query
    By lightningtechie in forum Database
    Replies: 1
    Last Post: 02-07-2006, 09:34 AM
  3. Replies: 2
    Last Post: 05-24-2005, 04:50 PM
  4. Replies: 1
    Last Post: 03-06-2001, 09:42 AM
  5. Replies: 0
    Last Post: 12-24-2000, 06:59 AM

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
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

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