If I have an element:

  <span id='foo'>50</span>

Should I be able to say the following?

  var total = parseFloat($('foo'));

Instead, I am getting a return value of:

  [object HTMLSpanElement]

and parseFloat is returning NaN.

Thanks in advance.

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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to