And this could also be a simple case for the AHAH pattern:
http://en.wikipedia.org/wiki/Ahah

On 3/30/07, David Dashifen Kees <[EMAIL PROTECTED]> wrote:
>
>  That is very possible.  I would argue that it would be better to use a
> drop-down list that could then have an onChange event handler or event a
> button which would, when clicked, get the value of the drop-down list (you
> should investigate the $F() function for this; it's in the Utility Methods)
> and then use Ajax.Updater to get the information from the server and
> display it in the DOM element of your choice.
>
>  -- Dash --
>
> 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]> <[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]> <[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 -
>
>
>
>
> >
>


-- 
Ryan Gahl
Application Development Consultant
Athena Group, Inc.
Inquire: 1-920-955-1457
Blog: http://www.someElement.com

--~--~---------~--~----~------------~-------~--~----~
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