js动态添加html标签函数中的参数写法
js动态添加html标签,此html中包含onclick等事件,必然要引用函数,那么函数中的参数如何写?1,function showi(m){alert(m);}function change(){var x=6;document.write('<a href="#" onclick="showi(\' '+x+' \')">点击</a&a