标签:java io ar cti javascript on type c
<script type="text/javascript">
$(function(){
var fun = "var func = function(a){alert(a);}";//函数字符串
eval(fun);//编译
func(‘abc‘);//调用函数
})
</script>
标签:java io ar cti javascript on type c
原文地址:http://www.cnblogs.com/chyg/p/3925081.html