similar to: onblur to work with select

Displaying 20 results from an estimated 1000 matches similar to: "onblur to work with select"

2006 Apr 20
1
The Autocompleter, with scrollable result-div
Hi everyone If you''ve seen this ticket, http://dev.rubyonrails.org/ticket/4782, you''ve noticed I have tried to make scrollable autocompleter work. The scrollIntoView works great, however the iframefix for IE didnt work in the previous change. This is fixed now. Also the "blur-on-scrollbar-click" should not work in both IE and Safari (can someone confirm this?) It all
2006 Mar 16
3
This is driving me crazy!!!
I have the following code but it keeps on giving me this error when it runs. --- Error: this.alertBox has no properties What would be causing this? My Code checks out when I call this.alertBox() from the setup function it works fine but when I try and put in on an event observer it doesn''t work. What do you guys think? Thanks, Jon Code Here: var Updater =
2006 May 03
1
form :onblur => ''this.form.submit()'' doesn''t do AJAX
Hi, I''m looking to create a form that gets submitted using AJAX after an element loses focus. <% remote_form_for :person, @person, :url => { :action => "save" }, :update => ''form'' do |f| %> <label for="person_fname"><span class="req">*</span>Name</label> <div class="form_el"> <%=
2006 Jun 19
2
Autocompleter enhancement feature request
Hello, I have created a ticket for an enhancement of the autocompleter to show the options immediately when the field gets focus. Right now at least one character must be typed for autocomplete to kick in. http://dev.rubyonrails.org/ticket/5435 I have also made some code changes directly in the script Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
2006 May 01
0
RE: Leak in the Autocompleter, with scrollable result-div ?
Tommy, Every time the Autocomplete results is blur()'d, it adds another onblur event observer (because of "Event.observe(this.update, "blur", this.onBlur.bindAsEventListener(this),true); // make sure blur is still around on") which leads to a performance problem / memory leak. (Commenting it out seems to fix this problem.) I was wondering why it was there? Thanks again,
2008 Apr 09
13
submitting an ajax form via javascript not rendering
for some reason the controller is parsing everything fine, but the return is a page instead of code execution. I have other ajax forms no listed that are also running fine on this same page. there are supposed to be 3 ajax events: onblur event that calls a function to submit - doesn''t work. There is a submit button at the end of the form - works there is a delete image that removed the
2006 Apr 06
4
problem with IE
hello there, im having a little problem with Internet Exploiter, im doing this: //// CODE //// var m = $(''XYZ'').cloneNode(false) m.setAttribute(''id'', ''XYZ_2''); m.value = ''''; var onblur = "alert(''hola'');"; m.setAttribute(''onblur'', onblur);
2006 May 01
0
RE: Leak in the Autocompleter, with scrollable result-div ?
Hi Ed The reason it adds a new onblur is because when you click the scrollbar the event is gone. I dont know why and how to prevent it, but without adding it back the onblur does not get triggered and the layer does not hide when you click somewhere else on the page. If anyone finds a better solution, please provide a patch. I still have not been able to make the blur work on Safari, so Thomas
2006 Feb 07
3
in place edit, save on blur
I thought I''d seen some discussion on this, but can''t find it. I have a text area that I''d like to save on blur unless the user clicks cancel. Anyone got a nice example of this? It''s non-obvious to me how I force the submit via javascript. Thanks, pt. -- Parker Thompson http://www.parkert.com/ 510.541.0125
2007 Jul 31
2
link_to
Im trying to use the link_to helper to open a blank window which is basically just a framed window to display user info without all the extra distractions that come along with opening this window. Here is what I got: <%= link_to ''Airline Preferences'', {:action => ''airline_preferences'', :id => @user.id, :method => ''post'' }, :target
2009 Jul 10
3
text_field_with_auto_complete
I need to pass a parameter in my text_field_with_auto_complete and am struggling to discover how to do this. I have something like this: <%= text_field_with_auto_complete ''user'', ''username'', {}, {:with => "''post=''@company_title.id"} %> but because it is in a partial that pops as a result from a remote_function_tag, I am
2007 Jul 02
3
stupid Rails rendering
I dont'' understand why it''s not possible to have a conditional redirection in rendering respond_to do |format| format.js { render :update do |page| page.redirect_to posts_url if @located page.replace_html ''error_message'', "Error..." page << "$(''popup_error'').popup.show();"
2007 Nov 08
3
options_from_collection_for_select
I need to add a blank or dashed field to the options_from_collection_for_select helper but can''t seem to get it to work. Tried this, but with no effect: <%= options_from_collection_for_select @airlines, ''id'', ''name''], {:include_blank=>true} %> Anyone know how to do this? Thanks, -S -- Posted via http://www.ruby-forum.com/.
2007 Feb 27
4
Blur bugs and slowdown :(
I now use blur plugin thanx to window matching feature, thanx David ;) I have some bugs: http://hibbert.univ-lille3.fr/~cbellegarde/blur_4xbilinear_bug.png Here, i have some artefacts bugs with 4xbilinear. This blur mode is fast! May be a Nvidia drivers bug... http://hibbert.univ-lille3.fr/%7Ecbellegarde/blur_gaussian_fast.png Here, an amarok big window with just desktop, moving window is
2006 Jul 26
0
Ajax and onsubmit
I''ve worked through the depot app and would like to use the ajax submit ability, but call it from a textbox''s onblur event. By using onblur I can submit the form, but the ''onsubmit'' part isn''t fired. Is there a way to either fire the onsubmit event, or to copy that code into a text_field? I tried a direct copy from the source of the form just to
2007 Jan 02
3
Blurring behind windows
It is a common request and I think it can be useful. The problem with beryl blur is that it is way too slow. I haven't poured through all of their code but I strongly suspect that there is some intensive code to work out where to blur. I would be happy with just a basic blur under transparent windows. Is there anything that can be done in the core to make effects underneath transparent
2007 Feb 06
2
state of blur plugin
I forgot to give everyone an update on this. The blur plugin is in a reasonable state now. It requires an OpenGL implementation with an accelerated CopyTexSubImage2D path for usable performance and that's likely not going to change sometime soon. One major performance improvement can still be made, which allow us to avoid the CopyTexSubImage2D path whenever the area behind a blurred region is
2007 May 13
3
Fragment interface on Intel
Hi It seem that the fragment interface on certain plugins exceeds the amount of fragment operations possible on Intel GMA cards. This only occurs with the "water" and "blur" plugins. the plugins activate OK and do not report a missing GL_ARB_fragment_program in the server extensions. Waves appear when I use the water plugin with <Super><Ctrl> but there is no
2008 Jan 19
5
Open a (redbox) modal popup from inside a controller?
Hi, I''m trying to open a modal popup window using redbox to display a styled notification/alert to the user. The helpers in the redbox documentation only describe how to open a redbox when the user clicks on a link, e.g., link_to_redbox() or link_to_remote_redbox(). Is there any way to open a redbox, or a different type rails- compatible modal popup, from inside a controller action?
2009 Apr 07
3
assert_valid in unit tests after upgrade to rails 2.3 doesn't work
def test_valid assert_valid State.first end Error: test_valid(StateTest): NoMethodError: undefined method `assert_valid'' for #<StateTest: 0x7f0d60750318> I see that test_valid is now in ActionController::Assertions::ModelAssertions. Does this mean that test_valid is designed to be used i ActionController tests only? I can change my assert_valid(State.first) into assert