similar to: Prototype: focusFirstElement and tabindex -1 ?

Displaying 20 results from an estimated 500 matches similar to: "Prototype: focusFirstElement and tabindex -1 ?"

2008 Feb 13
0
Element.focusFirstElement() causing issue with Element.addMethods()
Prototype 1.6.0.2 Internet Explorer 7 I''ve found that when I call $(''myform'').focusFirstElement(); to set focus on the first field in my form, that this statement "wrecks" the extensions I''ve added using Element.addMethods() if it executes before Element.addMethods(). When I try to call one of my exenstions, the IE7 JavaScript interpreter throws an
2009 Nov 05
1
tabIndex not working for select or textarea in form_for
Hello all, Maybe this is something easy to solve but I can set all my text_field tabIndex by { :tabIndex => ''2''}. When I try to do the same for the select or the textarea it doesn''t work. Is there something I''m missing? Thank you. John -- Posted via http://www.ruby-forum.com/.
2011 Mar 11
0
Add tabindex to country_select
How do I add tabindex to a country_select? -- 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 group, send email to
2008 Jun 17
0
how to set tabindex in date_select
<%= date_select(''user'', ''birthdate'', { :start_year => 80.years.ago.year, :end_year => 12.years.ago.year } ) %> work in rails 1.2.2 date_select(object_name, method, options = {}) I try many times but also didn''t know how to set tabindex in date_select --~--~---------~--~----~------------~-------~--~----~ You received this message
2010 Jun 02
0
Segmentation fault on paste a long text into Scintilla
Hi there, In bundled samples\scintilla.rb, paste a long one-line text (see below) caused segmentation fault scintilla.rb:166: [BUG] Segmentation fault ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32] However, It was Ok if not including last 100 or so characters (worked on 13100 characters). Cheers, Zhimin -- text copied <tbody><tr><td
2006 Mar 17
1
Autocompleter.Local problem/desparate plea for help...
I have been trying to write a selector function for Autocompleter.Local that will show a predefined Array and will scroll automatically to the first match. I have had success with with getting my list to populate and show all of the choices, however I cannot get it to scroll to the first match. Since I build the JS Array I can know exactly how many items are in the list going into my selector,
2006 Feb 21
1
Appending new tr into a table
Hi, While working on a project, I ran into the problem of appending <tr>''s to a table in IE 6. I am using new Insertion.Bottom(element, content); for this. This works fine in Firefox but in IE 6, I don''t get an error but nothing appears in the table. I know that IE treats innerHTML of a table as read only, but going through the following post, I assume there is some fix
2006 Feb 14
1
Firefox java script error in prototype.js
Hi, I am usign two selects, a master and a slave: <%= select("master", "id", @master) %> <div id="slave_id_list"> <%= select("slave", "id", @slave) %> </div> <%= observe_field("master[id]", :frequency => 0.25, :update => "slave_id_list", :url => {:action => :update_slave_select},
2007 Aug 31
0
observe_field is not working everytime in IE 6.0
Hi, This is Atit here. I am working on Ruby on Rails. I have one functionality in which, I have two drop down. Second drop down list is dependent on first one. So changing value of first drop down is refreshing the second drop down. I have used observe_field to implement this functionality. This is working fine in Fire Fox but in IE 6.0 it is not populating second drop down every
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
Note that this does not fix gettext for app, that will be done separately in another patch as F10/F11 require different setups for that. In the meantime gettext works if manually changed in environment.rb to gettext_rails instead of gettext/rails Signed-off-by: Jason Guiditta <jason.guiditt at gmail.com> --- src/app/controllers/application.rb | 200 --------
2004 Aug 06
1
Suggestions??: Got too many (2) domain info entries for domain
HI there, I'm franging around trying to put (open)LDAP at the centre of my universe, which works with imap/pop and sendmail, but samba is a different kettle of fish... after much testing I finally get bogged down at: "Got too many (2) domain info entries for domain" in the logs, and nothign progresses after that. And "yes" the ldap root bind password is set, iptables
2010 Jun 17
1
Problem with options_for_select
Hi, I have a problem with the form select. In the value field I have the generated html... <%= f.select :brand_id, options_for_select([[''Brands'', 0]] + @search_brands.map { |b| [b.name, b.id]}), {:id => ''cbxBrand'', :tabindex => (@tabindex += 1)} %> This is the html: <select name="search[brand_id]"
2004 Feb 13
0
Windbind_idmap.tdb problems
----- Forwarded by Nic le Roux/rohlig-grindrod on 2004/02/13 03:42 PM ----- Hi All, I discovered something to be wrong with the file winbind_idmap.tdb. Receive lots of messages saying: Feb 13 15:15:59 rh9printsvr winbindd[4201]: tdb(/var/lib/samba/winbindd_idmap.tdb): rec_read bad magic 0x42424242 at offset=119904 Feb 13 15:15:59 rh9printsvr winbindd[4201]: [2004/02/13 15:15:59, 0]
2006 Jul 21
2
Abstract insertion question
Hi, In the following block of Prototype.js when will the catch() block run? I cannot create conditions in Opera where it will run. Thanks, Peter if (this.element.insertAdjacentHTML) { /* IE and Opera */ try { this.element.insertAdjacentHTML(this.adjacency, this.content); } catch (e) { // when will this run? can feature detection be used instead? var tagName =
2008 Apr 18
1
element has no properties error.
Hey all, I''ve recently started messing around with Prototype again, so I thought I''d start small and write 5 lines of code that would check if all fields in a form are filled out. So I thought document.observe(''dom:loaded'', function() { $(''submNewUser'').disable(); new Form.Observer($(''newUser''), 0.3, function(e, val) {
2006 May 10
0
Passing Muliple Parameters with remote_function
<select name="media" id="media" onchange="<%= remote_function( :url => { :action => :show_performer_categories, :rate_group_id => @rate_group }, :with => "''media_id=''+this.value''" ) %>"> I''m guessing that''s wrong since WebRick does nothign when I
2006 Dec 07
1
Centos SATA PCI Card
Generator Microsoft Word 11 (filtered medium) Hi there, I' m trying to build a home made NAS/SAN server using Centos 4. I have an old HP ML series server with support for IDE disks only. So I thought that I could by some pci sata controller to use sata disks that are cheaper and faster than IDE' s. My question is , does anyone have used the Conceptronic PCI Sata Card sucefully in CentOS ?
2006 Mar 07
1
setting tab order in a select form field
Hi I''m trying to set the tab order for a select form element. I''m doing it like so: <%= select ''issue'', ''person_name'', people, "tabindex" => 6 %> but it gets ignored and I get this for output: <select id="issue_person_name" name="issue[person_name]"><option
2006 Jul 11
0
malformed utf-8 character error
Hi, I am using ajax scaffold generator with charset=iso-8859-9(Turkish)... Edit & Create buttons work correctly when there is no turkish chars in the current record. But, if there are turkish chars in any of the fields in the current row, buttons don''t work... (loading indicator simply spinning forever...) I put the KCODE=''u'' line in
2010 Dec 16
12
Capybara + radio buttons
How do I select a radio button when both id and name are identical?: <input type="radio" name="BILFPB.bilPremieUppgifterFI.under24" tabindex="13" value="J24" checked="checked" id="forare">Ja <input type="radio" name="BILFPB.bilPremieUppgifterFI.under24" tabindex="14" value="N24"