将html文本框值作为js参数传递 [英] pass a html textbox value as an js argument
本文介绍了将html文本框值作为js参数传递的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
几天来一直在努力解决这个问题,可以稍微关闭一下!
我想通过这个值
Hi all,
Been struggling with this for days now and could do with a bit of closure!
I want to pass this value
展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号
推荐答案
是正确传递的lotteryDraw()中的输入值吗?
is the input value in lotteryDraw() passed correctly?
嗨Dormillich
不,它不是
hi Dormillich
no it''s not
尝试获取函数内的值(不作为参数)。
try getting the value inside the function (not as parameter).
这篇关于将html文本框值作为js参数传递的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文