Displaying 20 results from an estimated 3000 matches similar to: "DropDown onChange event update the table in view"
2007 May 13
1
Dropdown boxes in tcltk and R
Hello,
I'm very much a newbie in R and more so in tcltk so apologies if this
question is stupid. Basically I am trying to use the combobox example
found here:
http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/DropDown.html .
What I want to do is in that example get fruitChoice as a variable in R
in general. When I run that code, however, and the ask for fruitChoice
it says
2006 Jun 08
1
built-in dropdown jumps?
Hey everybody! I was just wondering if Rails'' javascript library
includes something as simple as making a dropdown that jumps to the link
when selected without needing a "submit" button. I see a bunch of AJAX
effects and draggable-element stuff, but all i need is a simple
dropdown... should I code it myself?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 22
1
HABTM / Dropdown Help Needed
I''m terribly new to Rails, so bear with me.
I have an application I am working on which deals with projects and
subcontractors. There can be several subs on each project and each sub
can work on several projects. I have my join table set up and
has_and_belongs_to_many in both models. If I manually put data in the
join table, this works in my show view:
<% for subcontractor in
2010 Apr 10
2
Need a dropdown having "more.." option
I have a collection of products that I am showing in a dropdown. Now
at the first view it will show only first 10 products in the dropdown
with an option "more..." at last. if user clicks the "more..." he can
see all the following products in that dropdown list (this is not any
ajax request, just javascript show/hide). Of course the more... option
will hide when showing all
2006 Apr 07
3
Inline editing of datetime and dropdown select objects?
I don''t believe that Rails has support for the inline editing of
datetime objects or dropdown combo boxes.
Does anyone have a helper function or two that would allow me to do such
a thing?
--
Posted via http://www.ruby-forum.com/.
2006 Aug 06
1
Newbie: populate 2nd dropdown list based on user''s selection in 1st dropdown list
Hi,
I am creating a form that a user can post a message based on his
selection on category and subcategory. (A category has many
subcategories.)
How do I dynamically populate subcategory dropdown list when user
chooses a category from category dropdown list?
Thanks in advance.
--
Best regards,
Ming Ma
2006 Jun 05
2
dropdown
I''m using a dropdown on my form for a simple cms which displays the
pages from the database. I want to add some options to the dropdown
that are not in the database. Is there a way to do this?
Here''s my code so far:
<p><label for="navigation_link">Link</label><br/>
<%= select("navigation", "link",
2013 Jun 18
1
How to Pass Jquery selected dropdown values and radio button values to controller
Hi,
I have an advance search page and its code is as follows -
I have written my code like this
<div class="container">
<%= form_tag search_index_path, method: :get do %>
<%= radio_button_tag ''user_type'', ''customer'' %><p>Customer</p>
<%= radio_button_tag ''user_type'',
2006 Jan 01
7
Can''t get select helper to populate dropdown w/default value
Guys,
I searched this forum and found plenty of people having this problem,
but I didn''t see any definitive solution. Usings Rails 1.0.
When I edit an existing record, I can''t get the basic "select" helper to
display the current value contained in the field of the record. All of
my other (text) fields populate correctly with current field values.
There appears
2006 Apr 22
3
Creating a select dropdown box with links to methods
What would be the best way to create a form select dropdown box and upon
"submit" have it directly go to a controller method view?
I have something that somewhat works, but I think there is probably a
much easier way to do it. As of now, I have the dropdown list which
when the form is submitted is handed to a controller method which
basically
I have my dropdown box:
<%=
2010 Dec 02
2
foreman dropdown menu broken
Hi,
i just installed foreman from the git repository and the dropdown menu
does not work. Don''t know xhtml well but opera tells me:
Uncaught exception: ReferenceError: Undefined variable: Form
Error thrown at line 3, column 0 in http://130.149.58.152/:
new Form.Element.EventObserver(''settings_dropdown'',
function(element, value) {window.location.href = value;})
2006 Jul 20
1
cleanest, least hideous way to do dropdown date validation?
My customer has dropdowns like this:
Year Month Day
If you submit with month selected and year blank, it subs in a year
arbitrarily. Worse still, it subs in the year 5. I have no idea why.
It seems a pernicious default.
Anyway, they''re developing an app, they''re a designer turned coder,
turning to a real programmer (me, allegedly) to make sense of the
madness they''ve
2006 Jun 02
3
Where are the best AJAX examples?
Googling for this has not solved my problems. Is there a particular
site that is recommened for its examples and tutorials on Rails'' AJAX
capabilities? I know exactly what I want to do, just not how to do it,
and am looking for some code to pore over.
1) I have a dropdown that represents the name of an image in a library.
When the dropdown value is changed, I would like to refresh
2006 Feb 07
4
Dynamic url with javascript? - Help Please
Hi,
I''m trying to call a remote function when a combobox option is selected,
passing as an argument the current value of the combobox (paramenter
"panel_id":
<select id="server_interface_jack_switch_panel"
2010 Jun 09
1
To display a button onselect of an option from dropdown
Hi
Is there an option of displaying a button only when you
select an option from dropdown.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this
2006 Jul 26
1
List directory names in a dropdown control?
I''ve been trying to find the "right" way to do this and I''m now appealing to
the Rails masses. :)
I want to list all the directory names in a specific location and have just
the directory names appear in a dropdown control for the user.
The Dir.entries("somepath") includes the "." and ".." folders plus all files
and folders.
The
2006 Jul 13
2
Simple dropdown menu
Hi, I''m quite new to this language and I''m having trouble finding out
simple things like a dropdown menu in rhtml. I know I have to use <%
select_tag %> but I''ve read lots of different ways to put in the options
so I''m a bit confused. Options are hard-coded for the menu I''m trying to
create so no database is involved!
Thanks v much!
Bex
--
2007 Jan 22
0
dropdown list
hi
i am new to ruby and i have installed ferret for search using text box
for search by the string in
the text box
insted of that i am trying to implement a drop down list,with the
selected item in the drop down it should search. problem hear is that
the search is not going by the item please help me
The code is:
<input type="text" name="query" value="<%= h
2003 Mar 26
0
R TclTk iwidgets::comboboc
Hi,
I am trying to create a drop-down combobox in R TclTk.
The following works fine for a ListBox but fails for a combobox:
################# THIS WORKS FINE - CREATES AN EMPTY LISTBOX ##
tt<-tktoplevel()
win <- .Tk.subwin(tt)
.Tcl(paste("listbox",.Tk.ID(win),.Tcl.args()))
tkpack(win)
################## THIS FAILS - ATTEMPTS TO CREATE A COMBOBOX ##
tt<-tktoplevel()
win
2006 Mar 07
6
how to add onchange javascript event to select field
I would like to add javascript ''onChange'' event handling for a select
field, such as
<%= collection_select("job", "client_id" , @clients, "id", "name") %>
with onChange="xxx"
Anyone know how to make this work?
Thank you,
Scott
--
Posted via http://www.ruby-forum.com/.