You can only get value from a form element, not from a text node. If  
you want to read the raw text out of an HTML element, you'll need to  
use $('textID').innerHTML for that.

Walter

On Jan 22, 2009, at 11:34 AM, disccomp wrote:

> /* Another example, get the value of some text node and pass it as a
> param */
> myVal = $('textID').value;


--~--~---------~--~----~------------~-------~--~----~
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