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.
document.getElementById("inputA").value is like magic: it works in EVERY framework.
use getValue or $F(element) construct
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With