Home >Backend Development >PHP Tutorial >360可能火狐下无法给document.getelemnetbyid("aa")赋值

360可能火狐下无法给document.getelemnetbyid("aa")赋值

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 11:49:561042browse

360或者火狐下无法给document.getelemnetbyid("aa")赋值
功能:点开一 然后用ajax显示数据,选择所要的数据,数据值返回给表单document.getelementbyid(aa)=11;
之前在IE6可以实现,,,现在在360或火狐下不能实现,,,无法赋值,

如果哪个朋友有更好的方法也可以介绍下,好久没做网站了,,,我还是点击表单,用ajax读出相应的数据,选择后传回给表单,然后进行搜索,我就是要一个这样的功能。
------解决方案--------------------
document.getelementbyid('aa').value = 11;

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn