setStyle() requires parameters

Alex Mcauley
http://www.thevacancymarket.com
----- Original Message ----- 
From: "JoJo" <[email protected]>
To: "Prototype & script.aculo.us" <[email protected]>
Sent: Saturday, September 12, 2009 12:40 AM
Subject: [Proto-Scripty] Highlighting text box makes it look like Windows 95


>
> I'm highlighting an input textbox if the user forgot to fill out the
> form.  After the box get highlighted, it looks like retro Windows 95
> with thick borders and boxy edges.  So I attempt to remove the styling
> with an afterFinish callback, but for some reason, that is never
> called. Why?
>
> if ($F('feedbackName').blank()) {
>    new Effect.Highlight(
>        'feedbackName', {
>            afterFinish: function() {
>                $('feedbackName').setStyle();
>            }
>        }
>    );
>    allFieldsFilledOut = false;
> }
>
>
> >
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to