similar to: onkeyup issue while you create new element

Displaying 20 results from an estimated 100 matches similar to: "onkeyup issue while you create new element"

2006 Sep 10
2
Issue with radiobutton and remote_function in IE.
Hi there! I did implemented the radio button with remote_function to update some div via RJS. It works perfect with FireFox, but behaves weird with IE. When I click the radio button it loads data (I see the indicator showing) but not updates the div with info until I click left mouse button anywhere. It''s weird =( Here is the snippet from .rhtml code <td>
2006 Apr 12
22
Dynamic Select Box
Hi, I''m new to rails/ruby having come from PHP and am just starting to get my head round how easy it can be :) However, can anyone point me in the right direction for dynamicaly updating a select box based upon the choice of a previous select box, without a page refresh. Any and all help greatly appreciated. Thanks -- Posted via http://www.ruby-forum.com/.
2009 Jun 29
0
Problem with 2.3 nested forms and new elements
Hi, I''m using the new nested forms functionality and I having problems with new created elements. I have an invoice with lines. I would like to be able to create a new invoice, in the same form insert new lines dinamically and saving the invoice and the lines when everything is validated, not before. The problem is that when I add a line dinamically to the form, the new line created
2011 Sep 13
1
[LLVMdev] Weird GIMPLE by gccgo
Hi! I've been playing with gccgo / dragonegg, trying to get it to compile Go reliably. One of the problems I am currently facing is that when compiling Go, GCC tends to generate GIMPLE calls that don't have the correct type (or so it seems to me :) ). For instance, when compiling ddd.go from the Go testsuite, I get this: i.91 = i; D.785 = i.91.__methods; D.786 =
2006 Aug 07
2
Select Box Question
Hi, Yet another newbie here... I''m writing an appliction in Rails, and I''ve Ajaxified my select boxes so they update dynamically. I used the "observe_field" method to monitor changes to my select box. I find that it''s kind of erratic... it updates constantly and makes the selection for me, based on where my mouse happens to be hovering when it does its
2008 Jun 04
1
new to prototype : Ajax.Updater
hey guys.. im a prototype rookie here.. the concept of "a framework for javascript" seemed mouth watering.. but my rails got stuck when i started using it. here is the guinea pig im using to experiment on prototype. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html
2006 Mar 29
0
auto_complete_on_select don''t work correctly
Hi, i hope that''s the correct place for this question. I must update two input text from autocomplete. The list is, for exemple: <ul> <li> <span class="comune_name">pippo</span> <span class="lat" style="display:none">1.2</span> <span class="long" style="display:none">3.0</span>
2006 Mar 01
1
prototype.js ajax w/ post - how to send ''+'' character
Hi, I am trying to send input from a form to do a live php boolean search. so an example search string is ''+neoflex +standard +output -green'' the problem is something is filtering the ''+'' and i can figure out to to send it. here is the html and js that i am using. <input type="text" id="prodid" onkeyup="autosearch(this)"
2007 Oct 14
0
libswfdec/swfdec_as_strings.c libswfdec/swfdec_player.c
libswfdec/swfdec_as_strings.c | 1 + libswfdec/swfdec_player.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) New commits: commit 708448156a9973c48b2f86ec3f8f6ece4e2ab8fa Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Sun Oct 14 17:58:14 2007 +0300 Call onKeyDown and onKeyUp on Key object, not Stage object diff --git a/libswfdec/swfdec_as_strings.c
2007 Dec 04
0
TextAreaWithStatus 1.0 released
TextAreaWithStatus 1.0 has been released http://code.google.com/p/text-area-with-status/ == Overview == This plugin is extending builtin text_area and text_area_tag helpers with the ability to display chars left up to a specified limit. Basically it turns this: <%= f.text_area :description, :onkeyup => "limit_chars(this, 100, $ (''chars_left''))"
2011 Mar 03
6
Show a value in view
Hello All, I am working on a microblogging application.(similar to twitter) In my controller there is a method called replypopUp.It is a method that runs when the reply link on timeline is clicked.When I a click on the link a pop-up appears in which there is a text area and a post button.Inside the text area,the name of the user to whom I am replying should appear in the form
2011 Mar 09
1
Javascript call from view.
Hello All, I am working on a Microblogging application.(majorly written in Ruby on Rails).(the application is similar to twitter) .There is a timeline showing messages by the logged-in user and his/her followers. Each message has a reply link which has been coded as follows <%=link_to "Reply" ,{},:href=>"#",:class => "replyMessage noBackgroundImage" ,:title
2013 Nov 14
10
Render to clear textbox
There has to be a better way to do this. What I am trying is not working, and seems convoluted. Essentially, a controller method is called, and exits by rendering a partial the purpose of which is to simply clear a textbox in the view. So I am calling the partial which established the textbox -- but it doesn''t work (i.e. it doesn''t clear the textbox). Does anyone know of a
2008 Jan 08
1
HOWTO: Add a new line, Remove new line?
Hello everyone, I have a couple of checkboxes, where each checkbox belongs to a specific input field (which has a value). So whenever the user clicks on the checkbox, each value of the associated input field is added up and placed in the ''result'' ID. I''m using unobtrusive Javascript to make this happen... However I want to able to add and remove a new line (checkbox
2006 Feb 14
4
Scrollbar in Autocomplete List
Hi all, Firstly is there a way to search the archives? Second I was wondering if there is a way to implement a scrollbar on the list that occurs when you use autocomplete. I have some lists that are very long so I would like to shorten them but still have all the options. Regards, ----------------------- Iggy Sandejas D-Frag Solutions http://www.dfrag.com.au -----------------------
2006 May 21
5
no enter/click app [barcode reader]
I there We are making an app using barcode readers and it would be great if we did not have to hit enter or click each time an product is scanned, does anuybody has eny idea about how to achive this? Thanks in advance
2011 Dec 17
7
How to fire Ajax call from Form_for
I am learning Rails 3 and need some help on Ajax part. I am trying to accomplish the following: There is a textarea on the page which has a length of letters constraint, say 100. Every time a symbol is typed there,a nearby label tells you how many letters you have left. I plan to use Ajax to do this. I googled for a few hours and could not figure out how to do this. So far what I have done is
2006 May 23
6
Autocompleter - up arrow moves cursor to start of input box
When using the autocompleter and scrolling through options, if you press the up arrow key the input field cursor moves backward. Some of my users have reported that they find this very distracting. Does anyone know why this happens, or where in the code I could fix it? Steps to recreate: 1. Go to http://demo.script.aculo.us/ajax/autocompleter 2. Type in a letter (or two or three) 3. Arrow down
2008 May 26
9
App#process_message
how can rewrite the App # process_message to treat the messages of the system? wxruby -- Posted via http://www.ruby-forum.com/.
2006 Mar 08
4
Event.Observer - (was: Ajax.Autompleter not working on IE)
See if I can stir up a little life with a demo. I can''t believe that Ajax.Autocomplete doesn''t work on IE, so I *must* be doing something wrong. Trying to figure this out I added some alerts to control.js and it seems that IE is not getting the onkeypress events. So, here''s a demo: http://hank.org/demos/form.html That contains two fields with onkeypress events: