只显示主题贴
<HTML>
<HEAD>
</BODY>
</HTML>
<script language="javascript">
var a = "1234";
var b = "6789";
var c = "c="+"{num1:"+a+",num2:"+b+"};";
eval(c);
alert(c.num1);
alert(c.num2);
</script>
可以很正常的打出1234和6789
如果我把var a = "abcd";
<HTML>
<HEAD>
</BODY>
</HTML>
<script languag ...
- 进入论坛 AJAX 版
当我打开buffalo的网站时,照着它给的例子也写了一个!
要我 (编辑buffalo-service.properties)
buffalo-service.properties: helloService = 某某包.某某类
buffalo.remoteCall("helloService.hello",[p1], function(reply) {
alert(reply.getResult());
});
但是我好象在哪里看过并不需要用到buffalo-service.properties的资源文件
而是
buffalo.remoteCall("某某包.某某类.hel ...
- 进入论坛 AJAX 版
楼主:想请教一下,我一直对 prototype 有点疑惑!
function MyObject1(formalParameter){
this.testNumber = formalParameter;
}
------------------------------------------------------------
MyObject1.prototype.aaa = function (){
this.test = "test";
}
MyObject1.prototype.bbb = function (){
this.test1 = "te ...
- 进入论坛 AJAX 版
当我打开buffalo的网站时,照着它给的例子也写了一个!
要我 (编辑buffalo-service.properties)
buffalo-service.properties:helloService = 某某包.某某类
buffalo.remoteCall("helloService.hello",[p1], function(reply) {
alert(reply.getResult());
});
但是我好象在哪里看过并不需要用到buffalo-service.properties的资源文件
而是
buffalo.remoteCall("某某包.某某类.hel ...
- 进入论坛 入门讨论 版
<action path="/get*Header" type="com.hsmis.web.struts.{1}Action" parameter="method">
<forward name="success" path="/jsp/{1}Header.jsp" redirect="false" />
</action>
这种写法完全成立!其实也非常简单
比如:<action path="/getBBBHeader" type="com.hsmis.web.struts.BBBAction" parameter="method">
<forward ...
- 进入论坛 入门讨论 版







评论排行榜