私は jQuery 初心者で、jQuery 関数の引数として TextBox を渡すことができるかどうか疑問に思っていました。このようなもの:
<input id="MyInput" value="" type="text" >
//how/what to pass in this function to change the value of the input?
function SetValueTextBox(? ?)
{
//change the value of the MyInput Textbox
}
もちろん、これを使用したいTextBoxが複数あるため、質問があります。