Sounds like the Ajax.Updater should be your first port of call, then.

http://www.prototypejs.org/api/ajax/updater

You don't even need a 'select' button, you can set mouse click events on any 
DOM element, e.g. the table row, or the first cell, or whatever 

http://www.prototypejs.org/api/event/observe

Have fun!

Dave

On Friday 30 March 2007 15:32, EWonka wrote:
> Thanks Ryan,
>
> It's a fairly simple requirement actually, an ajax request will be
> sent to the application server and it will return data. The data will
> be comprised of a job description and id. I would like to take the
> data and form a display that for each row will contain a 'select
> button', description, id.
>
> The user will simply press the button (labeled "Select") for the
> specific row and the job description will be populated on the orginal
> form in a textbox. I am trying to avoid the classic drop down and go
> with "something" similar to a table type display. Your patience is
> appreciated. thank you.
>
> On Mar 30, 10:16 am, "Ryan Gahl" <[EMAIL PROTECTED]> wrote:
> > While your requirements at this point are pretty vague... I'll just say
> > yes, and that you should look, possibly, at scriptaculous's AutoCompleter
> > control.
> >
> > On 3/30/07, EWonka <[EMAIL PROTECTED]> wrote:
> > > Hello All,
> > >
> > > Been out of web development for a while; however I have a question
> > > with regard to Ajax and Javascripts. A requirement exists to perform a
> > > query from the browser using Ajax request and response objects. Once
> > > the data is returned, I need to display the query results. Rather than
> > > just creating a popup to display a selectable list, are there any
> > > other techniques, perhaps using scriptaculous or prototype scripts as
> > > an alternative? Say modifying the DOM elements.
> > >
> > > Thank you,
> >
> > --
> > Ryan Gahl
> > Application Development Consultant
> > Athena Group, Inc.
> > Inquire: 1-920-955-1457
> > Blog:http://www.someElement.com- Hide quoted text -
> >
> > - Show quoted text -
>
> >
>
> --
> This email has been verified as Virus free
> Virus Protection and more available at http://www.plus.net

-- 
----------------------
Author
Ajax in Action http://manning.com/crane
Ajax in Practice http://manning.com/crane2
Prototype & Scriptaculous in Action http://manning.com/crane3

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to