Prototype.js shortcut for getting value of an element ?

Posted by Tony on Stack Overflow See other posts from Stack Overflow or by Tony
Published on 2010-04-27T13:41:25Z Indexed on 2010/04/27 13:43 UTC
Read the original article Hit count: 222

Filed under:
|

I didn't use Prototype.js before, when I use jquery, I can get an element value like $("#inputA").val(); Is there an equivalent method in prototype like this? I use $("inputA").getAttribute('value');, which is very verbose.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about prototype