I haven't been able to set properties using $(). I was referencing a
checkbox with this yesterday such as $('checkbox').disabled = false
and this threw a js error saying disabled was undefined or something
similar. Perhaps I'm using an older version or doing something very
slightly wrong, cause I've never had this work for me.
On 7/13/06, Keith Davis <[EMAIL PROTECTED]> wrote:
That's not true. I set properties using $() all the time. In fact,
$().value works but $F() does not to set a value.
Keith Davis (214) 906-5183
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Andrew Kaspick
Sent: Thursday, July 13, 2006 2:59 PM
To: [email protected]
Subject: Re: [Rails-spinoffs] $F
Should only return a value I believe. $('some_element') works in a
similar fashion. It doesn't return the dom element directly in order
for you to set properties on it, only read them.
On 7/13/06, Keith Davis <[EMAIL PROTECTED]> wrote:
>
>
>
> Am I crazy or does $F only return the value of an element? In other
> words, it can't be used to set that same value?
>
> _____________________
> Thanks,
>
> Keith Davis - MCSA, A+, N+
> P.R.I.D.E. - Director of Computer Services www.pridedallas.com Work
> (214) 351-6600 ext. 119 Mobile (214) 906-5183
>
> _______________________________________________
> Rails-spinoffs mailing list
> [email protected]
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
>
>
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs