您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

select 中option 值在不同游览器的取值问题

2024/3/13 4:35:58发布26次查看
select在ie6/7/8 中不设置option value值无法用php获取到选中的值,而在ie9以上、firefox、chrome是否设置value值都可以取到值
例如:
select name='select_name'> option>1option> option>2option>select>select name='select_name'> option value='1'>1 option value='2'>2select>第一种情况用$_request['select_name] 在ie6/7/8取到的值为空第二种情况用$_request['select_name] 在ie6/7/8可以取到值在其他游览器中则不受影响
').addclass('pre-numbering').hide(); $(this).addclass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadein(1700); }); }); 以上就介绍了select 中option 值在不同游览器的取值问题,包括了方面的内容,希望对php教程有兴趣的朋友有所帮助。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product