Displaying 2 results from an estimated 2 matches for "myselectbox".
2008 Jan 17
4
JSON query problems
...script:
var products = [{''ID'': 16378, ''Cost'': 100.00},{''ID'': 16377,''Cost'':
112.00},{''ID'': 16376,''Cost'': 141.00}]
I am getting the ID value from the select box with this:
var id = $F("mySelectBox");
How would I use prototype to find the object with the matching ID and
return it''s cost?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to th...
2011 Mar 31
6
Parse selectbox value with javascript
Hey guys,
i''ve the following question:
how can i parse the value of a selectbox within a div-tag (with the id
"ma") via AJAX and use the parsed value for reading out some data from
my database. the parsing request should be started by selecting another
selectbox.
My mainquestion is: how can i parse a selectbox (if possible with rjs)
an get the value in ruby (not just in