更新时间:2022-12-01 21:25:23
嗨
只需在SetTextbox函数中添加一行,您还应该传递一个称为 this 的额外参数,如
Hi
Just add one line in SetTextbox function you should also pass one extra parameter called this like
SetTextbox(this,ReturnTextbox.Trim(),mydata,MyDiv);
function SetTextbox(_this)
{
/*your code here.. */
_this.style.display='none';
}
如有任何疑问,请让我知道.
如果有帮助,请提供"投票",如果这是正确的答案,请提供"接受答案".:rose:
谢谢,
Imdadhusen
Please do let me know, if you have any doubt.
Please provide "Vote" if this would be helpful, and make "Accept Answer" if this would be correct answer.:rose:
Thanks,
Imdadhusen