search for: focusfirstel

Displaying 6 results from an estimated 6 matches for "focusfirstel".

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 error as follows: &...
2006 Oct 26
0
Prototype: focusFirstElement and tabindex -1 ?
Hi, I''m new to prototype but it seems like an EXELENT framework. But I got a problem with the focusFirstElement when the first element have a tabindex="-1" since when negative number the user are never able to tab the element, so I would not want them to get focus on the element either. Is there really any time when a user want the set the focus on an element with negative tabindex? I added a...
2005 Dec 14
4
newbie q: Form element focus
This is probably a dumb question, but is there an easy way to set the focus of a form to the first visible/editable element? I''ve been googling lots and searching documentation and haven''t come up with anything. Help would be appreciated. -- Posted via http://www.ruby-forum.com/.
2006 Jun 09
1
Positioning cursor to first form field
whenever I display the form to the users now the user has to click on the first field; how do I make it automatically positioning on the first user enterable form element (is there any javascript helpers) thanks -- Posted via http://www.ruby-forum.com/.
2006 Jul 11
0
malformed utf-8 character error
...ld_tbody_id(@options), :partial => ''new_edit'' 7: page << "new TableRow.MoveAfter(''#{element_row_id(@view_options)}'', ''#{element_row_id(@options)}'');" 8: page.show element_row_id(@options) 9: page << "Form.focusFirstElement(''#{element_form_id(@options)}'');" D:/EErisken/Downloads/ruby/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/json/encoders/core.rb:31:in `unpack'' D:/EErisken/Downloads/ruby/InstantRails/ruby/lib/ruby/gems/1.8/gems/act...
2006 May 02
3
Ajax scaffolding respones are received, but not rendered in browser
...y: none;\" id=\"message-create-1146611248468-loading-indicator\" alt=\"loading indicator\" class=\"loading-indicator\" />\n \t</p>\n </form>\n </td>\n</tr>\n"); Element.show("message-create-1146611248468-row"); Form.focusFirstElement(''message-create-1146611248468-form''); new Effect.Highlight("message-create-1146611248468-cell",{}); Element.update("message-create-1146611248468-messages", "\n \n\n \n\n \n\n\n\n\n"); Element.hide("message-new-loading-indicator", &qu...