location.search接收不到参数值?
一个JS文件里有:
showModalDialog(_editor_url+"popups/insert_table.html?"+objname,window,"resizable: yes; help: no; status: no; scroll: no; ");
在insert_table.html代码里有:
var objname = location.search.substring(1,location.search.length);
但得到的objname为空?为什么?有其他解决办法没?