在哪里找javasript写的函数? <script language="javascript></script>可以放在.htm的任意位置,可能那个函数是内置的,或者是某个对象的方法....... 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 URL为http://www.51.ca/house/rentmap.php?s=209275bb7635972510cff1bbccf44bc6,大家看一下它的源文件中的一个函数funSearchCity()在哪里定义的。 function funSearchCity(){ //|| !funCheckScope(theform.scope) var theform = fetch_object('SearchForm'); if(!validate(theform)) { return false; } var citygeodata = theform.citychoice.value.split(','); mylongitude = citygeodata[0]; mylatitude = citygeodata[1]; myzoomlevel = citygeodata[2]; loadpoints = 1; map.centerAndZoom(new GPoint(mylongitude, mylatitude), myzoomlevel); loadedbounds['init'] = 0; centerer = { 'init': 1, 'x' : mylongitude, 'y' : mylatitude, 'html' : langStr['citycenter'] }; map.clearOverlays(); plotVisibleMarkers(); return false;} To:y7967(遥遥之途,远且坎坷) 谢谢你的回复,不过我还是不明白,这个函数的定义你从哪个文件中找到的? <script language="" src="">应该是在src所在的路径下面.......... 有四个js文件可是我没有在这四个文件下面发现funSearchCity()的定义啊。 To:y7967(遥遥之途,远且坎坷) 有位大哥告诉我,引用的js用Encrypt HTML Pro加密过,那么你是怎么看到的funSearchCity()的定义那? 晕.今天才看见你问我怎么找到的?你安装maxthon浏览器豪华版,然后在工具栏会有一个ViewPage按钮.可以查看页面的源代码,但是要比IE本身的"查看源文件"好用,会把这个页面用到的所有内容都显示出来,当然包括那些js脚本.加密了的也会正常显示.如果用普通方法找,肯定也能找到,可能你没找仔细,或者脚本被加密了,需要用工具还原.你想啊,js这些东西是客户端的东西,肯定要被下载到本地的,所以一定能找到. select动态请求操作问题 js怎么数组转成字符串啊~ JS如何实现页面中iframe中内容的切换,在线等答案,谢谢 怎么设置jquery自动填充提示框里的内容显示 晒晒simplehtmltreegrid3.0 Firefox如何设置弹出窗口 getElementsByTagName能改成getElementsById? js写的一个页面全屏显示了,如何查看源代码 关于文本框只能输入数字一问? 有一个Tree,在Text里面输入搜索字搜索对应Tree里的内容 ■■■■如何修改confirm消息框的"确定","取消"这两个字? 如何禁止网页跳转,且不弹出任何对话框
{
//|| !funCheckScope(theform.scope)
var theform = fetch_object('SearchForm');
if(!validate(theform))
{
return false;
} var citygeodata = theform.citychoice.value.split(',');
mylongitude = citygeodata[0];
mylatitude = citygeodata[1];
myzoomlevel = citygeodata[2];
loadpoints = 1;
map.centerAndZoom(new GPoint(mylongitude, mylatitude), myzoomlevel);
loadedbounds['init'] = 0;
centerer = { 'init': 1, 'x' : mylongitude, 'y' : mylatitude, 'html' : langStr['citycenter'] }; map.clearOverlays();
plotVisibleMarkers(); return false;
}
谢谢你的回复,不过我还是不明白,这个函数的定义你从哪个文件中找到的?
有位大哥告诉我,引用的js用Encrypt HTML Pro加密过,那么你是怎么看到的funSearchCity()的定义那?