similar to: select box selected on value ? w option_for_select

Displaying 20 results from an estimated 700 matches similar to: "select box selected on value ? w option_for_select"

2005 Oct 08
0
cyclades driver on centos 4.1
I have a 5 year old machine that had a working cyclades8ys (8 port ISA rs232) card. I installed centos 4.1 on the box. I installed the kernel source and rebuilt the the kernel, did menuconfig and seelcted the cyclades module. Did the modprode cyclades and got some driver information echoed to the screen but it did not detect the card. Does udev have anything to do with this? Does any one have
2011 Jan 13
0
rails 3 Mail encoding issue
[Rails 3 - Ruby 1.9.2] I have to get email attachments ( mp4 files ) and store them... I get easily all parts using Mail ( .... <Content-Type: multipart/ mixed...."> ) attachment = mail.attachments[0] #<Mail::Part:2206885940, Multipart: false, Headers: <Content- Type: video/mp4; name=landscape.mp4>, <Content-Transfer-Encoding: base64>,
2006 Jul 26
0
render :update do | page | to modify a css class string...
In my booking/_form.rhtml, I have 2 <input text fields> startingdate (selction from unobstrusive calendar ) and endingdate <div> <label for="startdate">Booking Start Date</label><br /> <%= text_field_tag(''startdate'', @startdate, {:class => @startdateclass, :readonly => "readonly", :maxlength => "25"}
2006 Sep 27
0
adding id and class to date select helper.. is it possible ?
I need to observe a select_month or select_year tag... as I would like to have an observe_field on them.. is it possible ? if yes how.. if no, is any trick to do it ? thanks a lot kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
2010 Oct 19
0
Ajax & Table Display Filtering based on Selected Option
My scenario: On a department''s products page (index.js.rjs), there is a table showing the products with their id, name, category. The view of this table is specified by a partial file called _index.html.erb. I''m going to add in a selection/option drop down menu above the table to show all the product categories. When the user selects a category from the drop down menu, Ajax
2011 Jun 06
1
Cheap and cheerful replication
Hi guys, I wonder if anyone has found any simple solution for cheap and cheerful replication between two hosts (in this case for XCP)? Basically I have two machines (A and B). I want to run 8 VMs on local storage on server A and 8 VMs on local storage on server B. I want all the machines on server A to be backed up to server B and vice versa. In the event of failure, I want to be able to run all
2006 Jul 12
2
Can''t get observe_field to take a variable for a field name
The subject pretty much says it all: I can''t?get observe_field to take a variable for a field name I''ve tried: <%= observe_field(var_name, ... <%= observe_field("#{var_name}", ... <%= observe_field(:"#{var_name}", ... No luck. Am I missing something? Thanks, : ) Jason -- Posted via http://www.ruby-forum.com/.
2006 Apr 04
0
Does observe_field work with date_select?
I can''t get observe_field to do anything with my date_select. Here''s the rhtml code: <%= date_select ''course'', ''lab_start_date'' %> <%= observe_field(:course_lab_start_date, :frequency => 0.5, :update => :course_lab_start_date_div, :url => { :action => ''preview_text''}) %> My
2006 Apr 24
0
observe_field inside of a form?
Hi I''ve just started experimenting with AJAX in Rails and have come across this issue. I''m trying to set up some ajax form validation on a login form. I set up an observe_field method for the username field but the action for the containing form is being called and rendered instead of the action I specify in the observe_field method. All of the observe_field examples
2006 Oct 18
1
observe_field, GET method and RESTful controllers
Hi all. I am trying to work with restful rails and have come across a quandry with observe_field. I basically want the observe field to call a show action on a restful controller. However I am unable to do so because I cannot get the damn thing to use the get request properly. If I use the following: <%= observe_field("project_selector", :update =>
2010 Feb 08
1
can use use observe_field with a 3rd party server?
Hi- I''m trying to implement an auto-complete using Yahoo''s autocomplete server, which basically suggests search completions: http://ff.search.yahoo.com/gossip?output=fxjson&command={your searchterms}'' if you want to see the results in your browser, use xml instead: http://ff.search.yahoo.com/gossip?output=xml&command={your searchterms}'' So, I can
2005 Dec 31
4
observe_field with dynamic forms
I have a form where I dynamically add form elements based on user input. An example is that when a user selects a "server" from a select box I add (via AJAX calls back to server) a "type" select box pre-populated with valid choices for that server. I do this by using observe_field on the "server" field and update a div on the page with the new "type"
2006 Jul 20
1
Ajax and observe_field not updating specified DIV
I have a page that has a dropdown which i''m using observe_field on to make an ajax call back to my controller. The page initially displays fine. The method is invoked in my controller when i select a choice in the dropdown and I have an rjs file which is then invoked. The rjs file looks like this: page.replace_html ''embed_calendar'', :partial =>
2006 Jul 23
1
some question about ''observer_field''
Is the observe_field (ActionView::Helpers::PrototypeHelper ) can be apply to any html tag? (such as div) I tried to apply ''observe_field'' to observe the content of <div> tag, but, as the observed <div>''s content was changed, there was nothing happend. for example (in test.rhtml): <%= link_to_remote "test", :update=>"content1",
2007 Sep 17
1
observe_field and :function
Hi, I m using the observe_field helper with the :function attribute. If I do the following everything it works without any issue: <%= observe_field ''select_gender'', {:function => "(value == ''2'') ? $(''record_ohrmarke'').value = ''a boy'': $(''record_ohrmarke'').value = ''a
2008 Jun 27
0
Update database on checkbox update
I have search the web for help, with the keywords "rails ajax observe_field update checkbox", but even using all the things I found, I couldn''t really get my application for work properly... I think I lack of understanding of ajax and rails interaction with ajax. What I would like to do is very simple. I have a model "Word", with the boolean field
2008 Dec 22
2
how to use the observe_field to get more than one field?
Hi, I have two selctdropdown boxes name like "resolution" and "codecname". Now i am able to get the single field value either from resolution or codecformat select box. ex: observe_field ''resolution'' or observe_field ''codecforamt'' is there any way to get the two fields in to the observe_field method ? Can anyone give me suggestionfs or
1998 Apr 10
0
Linux made the Wall Street Journal - the Article
Linux Plays a Role in 'Titanic,' Photos By NASA, but Can It Take On Microsoft? By SEAN DAVIS Dow Jones Newswires [From The Wall Street Journal, April 3, 1998, page B7B] NEW YORK-The makers of "Titanic" used it to render the hit film's special effects. NASA uses it to stitch together pictures of Earth. It is free to anyone who wants it, but at least two companies are
2006 May 09
6
RJS, & mulitple Drop Down Boxes.
Hello Again Rails Folk! I''m trying to creat a page similar to what the person is doing here... http://mudabone.com/aietc/?page_id=410 Instead of doing it the way he/she has, I decided to use RJS files, or at least I tried. Here''s my view <%= start_form_tag %> <%= javascript_include_tag "prototype" %> <p> Union: <div id="union">
2006 May 23
1
Status: Provisioned, Down, Active - Long
Hi list! I'm trying to setup Digium TE205P E1 card to work with my provider (and Ericsson BP 250 - this comes later). When I execute "pri show span 1" this is what I get. pbxzg1*CLI> zap show status Description Alarms IRQ bpviol CRC4 T2XXP (PCI) Card 0 Span 1 OK 0 0 0 T2XXP (PCI) Card 0 Span 2 UNCONFIGUR 0 0 0 pbxzg1*CLI> pri show span 1 Primary D-channel: 16 Status: