$() does return the element. $F() essentially returns $().value, but it is not a reference to that attribute. If you want to set the value and you used an id on your element then use $().value = 'blah' to set it.

Colin

Andrew Kaspick wrote:
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
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs



_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs


_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to