Displaying 20 results from an estimated 1100 matches similar to: "Autocomplete related fields"
2006 Jan 23
1
autocomplete=off not working on Firefox
I noticed that the latest control.js disables auto complete:
this.element.setAttribute(''autocomplete'',''off'');
So I removed my inline "autocomplete=''off''" from my input fields.
But Firefox still auto completes.
Using the Firefox DOM Inspector I do see that it''s applied
by Ajax.Autocompleter as expected. The Inspector
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 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 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 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
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
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
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
2006 May 09
2
[Prototype] Why doesn''t calling submit() on a form result in the execution of the onsubmit event handler?
Hi,
Is it normal that a call to $(''some_form'').submit() doesn''t result in the
execution of an onsubmit event handler on ''some_form''?
Thanks,
- Rowan
--
Morality is usually taught by the immoral.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Dec 28
2
form reset after successful form submission
hi,
what''s the way to reset the form generated by the form_remote_tag
after the successful submission of the form?
thanks
2006 Apr 22
3
rjs woes, any hints?
I''ve pared my rjs experiment down to what seems a bare minimum. When I click
on my link_to_remote, the rjs executes, returns the correct javascript to
the browser, but it doesn''t update the div I''ve specified. What appears to
be coming back from the controller is:
Element.update("my_form", "hello, rjs");
I''m tearing my hair out.
2006 May 09
1
Reusing a model to form and link_to.
Hy guys,
Inside my app I have a form which contains user information.
Sometimes a have a form with a text_field as above:
<%= form_remote_tag(:html => { :action => url_for(:controller =>
"my_controller", :action => "my_action") }) %>
<%= text_field(''my_object'', ''my_parameter'', :maxlength =>
2007 Dec 08
2
Assigning submit handler to form
Hi folks,
A quick question for somebody. I''m adding a simple validation JS to my
form by attaching it like so:
$(''my_form'').observe(''submit'', function(e) { return
view_ns.validate_form(Event.element(e)); });
The validate_form() function returns true or false. But regardless of
it''s return value, the form is always submitted. ''sup wi
2008 Jul 27
2
Rails Cookbook review
Guys:
Stuck at the mall today, and just had to crack Rails Cookbook, by O''Reily. It
had a recipe for accepting dynamically created forms. The sample output looked
like this (reconstructed):
p params[:my_form]
> ["1-1" => 0, "1-2" => 0, "1-3" => 0, "2-1" => 0, "2-2" => 0,
"2-3" => 0,
2007 Jan 16
2
[LLVMdev] Indirect branch instruction
On Tue, 16 Jan 2007, Nicolas Geoffray wrote:
>> Can you give a compilable C function as an example?
>>
>>
> Well I'm not sure on how to do this in C, but in x86 assembly a simple
> jmp %eax does it.
I don't understand. You're making a claim that the C compiler isn't
producing optimal code for some case. Can you give an example of a C
function that llvm
2013 Dec 14
2
[LLVMdev] create load from a register in LLVM IR
Hi all,
I have recently encountered a problem when creating LLVM IRs. I am wondering if there is a standard or easy way to create a load from a certain register? For example, CreateLoad(rbp, NAME).
Thanks,
Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131213/ec277276/attachment.html>
2007 Oct 29
1
Moving windows above GNOME top panel in Gutsy
When I enable compiz in Ubuntu Gutsy I can't move window titles
*above* the top panel. With compiz disabled I can grab a window in
the middle (Alt+left mouse) and move its title bar above the screen
showing just the bottom part of the window.
I assume this is a Compiz issue, since it only happens when enabled.
I've been looking for a config option that controls that -- is there a
way to
2007 Dec 28
3
fonts unreadable on resize
I have the "Resize info" feature enabled on my desktop and on my
laptop both running Gutsy.
on the desktop the fonts are impossible to read:
http://hank.org/resize.png
but are very clear on the laptop.
And tips to fix?
--
Bill Moseley
moseley at hank.org