Displaying 20 results from an estimated 1000 matches similar to: "autocomplete=off not working on Firefox"
2006 Jan 16
11
Preventing bubble
I''m trying to prevent double ajax requests when I have nested onclick
handlers.
I have a table with clickable column headings (for sorting by that
column).
I have onclick handlers on both the <th> and the <a> link so that
clicking anywhere on the table heading should work.
<th onclick="window.location.href=''http://foo?sort=foo'';">
2006 Mar 07
0
Ajax.Autompleter not working on IE
I have IE 6.0.2 on an old Win 98 machine (that sounds like a vacuum
cleaner when running), but I''m developing with FireFox and on Mac and
Linux where things seem to work fine.
On IE my Ajax.Updater code and my scriptaculous effects are working
fine, but my autocomplete fields are not. I assume I''m doing
something wrong in setting up the field:
I use this on my form:
<input
2006 Jan 18
6
Autocomplete related fields
I have a table that has city, state and postal code. I want to
auto-fill the city and state when a postal code is entered.
The city and postal code are simple text fields, but the state is a
drop-down list with abbreviations as the value, and the full state
name as the option text.
I assume with Ajax.Updater I could just return the HTML for both the
city and state fields -- including the entire
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:
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 Apr 03
5
Event.observe on IE
I''m working again on unloading events before making my ajax call.
This code works on Firefox/Opera, but IE doesn''t seem to get the
onclick events registered. Could someone with IE take a look?
http://hank.org/demos/ajax3.html
The js is included in that file. There''s alerts() to show when the
events are registered.
The idea of the code is to look for any
2005 Dec 05
1
Scriptaculous conflict with TinyMCE
I''m using TinyMCE[1], a popular javascript WYSIWYG html editor. The
editor fails to work when I load Scriptaculous before it -- well
depending on the browser.
I can make my application load the javascript in a different order,
but just in case it''s an issue in scriptaculous I thought I''d report.
I have a few pages up -- I''d like to find out if anyone else
2006 May 16
0
in_place_editor with local autocomplete
Hi Rails gals n guys
I am trying to enhance the "Lightning-Fast JavaScript Autocompletion"
rails recipe. For those that do not have the pdf-book the recipe
explains how to use a javascript array for an auto-complete text field.
I want to combine this with the in_place_editor call. My current
(unworking) code:
<!-- Load the array for autocomplete -->
<script
2006 Jan 10
0
Changes to Autocomplete?
Hi all,
Can anyone confirm if anything has changed in Ajax.Autocompleter (or
Autocompleter[.Base]) in 1.5.1 since 1.5? I've updated to this
version and either something has changed (unlikely) or I've made a
change somewhere that's borked it (much more likely). Events aren't
firing on the text box when I enter input or blur away from the
control ...
Many thanks!
Regards,
Cam
2006 May 17
3
Autocomplete GetToken??
Hi, I needing to modify the control.js file and am confused about what the
purpose of the getToken function is. I read the docs section below and still
don''t understand why it doesn''t just access the form.value directly.
Docs say:
This method should get the text for which to provide autocompletion by
invoking this.getToken(), NOT by directly accessing this.element.value. This
is
2005 Dec 14
1
[scriptaculous] scroll down to show full auto completion list (w/ possible patch)
Hi everyone,
lately I''ve implemented an auto completion textfield at the bottom of a
form. I was a bit bothered by the fact that the user would potentially
need to scroll down in order to see all the options offered by the auto
completion. I couldn''t find any information on how to auto scroll to the
auto completion list with bulit-in functionality so I modified
controls.js
2006 Mar 31
7
Reset events after ajax update
Avoiding real work I decided to try and clean up my html and remove my
inline onclick handlers for Ajax.Updater calls. Here''s the inline
method I''ve been using:
http://hank.org/demos/ajax-inline.html
Now, here''s using <script> sections to apply the behavior.
http://hank.org/demos/ajax.html (firefox only)
Since the links (tabs) are inside the
2006 Jan 06
3
Gianni
|Hi i''m New
First Question:
to use a script.aculo.us it needs to include prototype.js and
scriptaculous.js.... but doesn''t work!!;
instead ||using ||scriptaculous.shrunk of Alister Cameron, work;
what are the expedient to use to include the ||scriptaculous.js ?
Second question:
in script.aculo.us |Ajax.Autocompleter
2006 Jan 02
0
Scriptaculous Autocompleter and new values
Hello.
I''m using the Autocompleter to display suggestions when the user enters
text in an input field. Sometimes the user wants to add text that is not
among the suggestions but that is the prefix of one of the suggested
entries. What''s the best way to accomplish this (the problem is, that
the first matching entry is selected automatically and can''t be
deselected)?
2008 Apr 10
1
help on ajax autocompleter
the div list of words doesn''t get updated
# controller
class Words < R ''/words''
def get
("word01".."word20").each{|w| (@words ||='''') << "<li>#{w}</li>"}
render :_list
@words
end
end
#views
#
def layout
html do
head do
link :rel
2006 Jun 21
11
scriptaculous question
Hello everybody.
I''m wondering if there is away with scriptaculous to update multiple form
fields with data after finishing an autocomplete request.
Heres an example.
Joe BlowSchmoe fills in his name and starts to type in the customer number,
he selects the approprate customer number from autocomplete list, and bam
the address associated with the customer number is populated into the
2005 Dec 22
6
Scriptaculous and Prototype based Rich Text Editor
Hi Guys,
I'm currently using the Dojo Rich text editor on my site
https://wideword.net but am not 100% happy with it as I'm a prototype
kind of guy.
So I started writing this Rich Text Editor the other day on an
experiment. I used the In Place Editor as a template for it and have
gotten it to more or less work under IE and Gecko. Unfortunately it
still isn't working on Safari ( The
2006 Apr 02
13
autocompletion: hooking ''afterUpdateElement'' in Rails
Hi everyone,
I need to trigger a Rails action after the autocompletion is completed
(when the user has selected an option).
From the scriptaculous doc, I figured out ''afterUpdateElement'' is the
place to be but I wonder if/how and where I can hook my javascript code
to this event in Rails code (I''d like to keep using the helper, if
possible)?
I tried passing many
2007 Feb 15
2
ajax.request not working in ie7
it sends the request fine in firefox but it never gets sent in ie7 (im using
iewatch). here''s my code:
var headers = [''Man'', ''POST http://'' + location.host + ''/something
HTTP/1.1'',''MessageType'',''CALL'' ];
var myAjax = new Ajax.Request( url, { requestHeaders: headers
,contentType:
2006 Mar 07
11
maintaining application state/urls
Hi All
Not specifically a scriptaculous question, but I was wondering how
people were going about maintaining access to their applications via
standard urls.
Say for example I''ve a shop at www.shop.com, and its pure ajax to load
in products. Now customer A wants to show a friend a product on the site
- giving him the url www.shop.com and telling him to click on a series
of links