以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  请教清除字段变量缓存  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=180243)

--  作者:lanbor
--  发布时间:2022/10/10 14:56:00
--  请教清除字段变量缓存
在手机移动端上
定义了一个接收条码的输入字段 isn
  With wb.AddInputGroup("form1", "ipg1", "新增照片")
        .AddInput("isn", "序号:", "text").Attri bute = "on ch ange=\'item_code()\'"
        .AddInput("icode", "物料号:", "text")
   End with

现象是:
    在使用中,当把光标移动到这个字段时,它会自动弹出之前扫描过的所有条码;
请教:
     如何在这个字段内容被引用后,就把这个字段变量的缓存字符清除掉
     因为我每次扫描的条码都是全新的,不会用扫描过的条码;
[此贴子已经被作者于2022/10/10 14:56:18编辑过]

--  作者:有点蓝
--  发布时间:2022/10/10 15:03:00
--  
https://blog.csdn.net/weixin_39076203/article/details/111386784

wb.AppendHTML("<meta http-equiv=""Cache"" content=""no-cache"" >",True
[此贴子已经被作者于2022/10/10 15:04:20编辑过]