How do I take value inside a text field of a html form using prototype.js?
var typeName = Form.getInputs('inputform','text','fe开发者_C百科ature').find(function(text) { return text.checked; }).value;
Is this the right way to go about ?
I have applied the same to radio button and it worked .
$F is the shorter way
var fooValue = $F('foo')
精彩评论