开发者

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')
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜