you had a problem withvar label = Builder.node('label', { for: 'id_of_an_input' });? try:
var label = Builder.node('label', { 'for': 'id_of_an_input' });hth
On 7/25/06, Andreas Wahlin <[EMAIL PROTECTED]> wrote:
I've googled a bit, but haven't come up with anything. It seems theBuilder.node chokes o
Hi all,
Is there a way to use Insert.Top with a div's class instead of the id?
I've tried a couple things, including a combination of
document.getElementsByClassName and Insert.Top but just can't get it
working. Thanks again!
___
Rails-spinoffs mailing
I have to admit to a hard time understanding a real-world use case for this. It seems like any situation where the method would fail would be programmer error and need to be fixed, and any situation where it would succeed, it would be unneccessary.
Is there something I'm missing here?On 7/26/06, E
Use:
aObjectNames.each(function(o){$(o).setOpacity(0)});
-Thomas
Am 26.07.2006 um 08:53 schrieb G r U M P:
Hi everyone... thanks in advance for the help...
// THE CODE
aObjectNames = new Array;
for(i=0;i<35;i++){
aObjectNames[i] = 'press_icon'+i;
}
for(i=0;i new Effect.Opacity(aObje
Not sure why that breaks; nothing is screaming at me. However, you may
just want to use Element.setOpacity if you don't want it to be a fade
effect. It just immediately sets the opacity to the desired setting. I
believe this is how you'd write it:
Element.setOpacity(aObjectnames[i], 0);
Greg
Is there an option to prevent the 'return' key from autocompleting? On my application I like having the autocomplete show possible matches for users, but I dont want to force them to use a partial match. Example:
1) User wants to enter "sock" into the textbox2) Autocomplete finds a term "sockpuppe