| 发表于:2007-07-23 15:48:18 楼主 |
导入代码如下: <script type= "text/javascript " src= ' <%=response.encodeurl(portletrequest.getcontextpath()+ "/js/calendar.js ")%> '> </script> 使用代码如下: <input type= "text " onfocus= "calendar() "> 在纯html页面中使用一点问题也没有。 portlet中通过 <a> 标记测试,路径没有问题能够下载下来,但显示不出来,同时也不会报错。 请教解决办法。 |
|
|
|
|