开发者

how i can insert a javascript code inside visual web jsf page in netbeans?

开发者 https://www.devze.com 2023-04-07 06:58 出处:网络
howi can insert a javascript code inside visual web jsf page in netbeans 6.5.1 ? <webuijsf:headid=\"head1\"> <script type=\"text/javascript\" src=\"ddaccordion.js\"></script> </w

how i can insert a javascript code inside visual web jsf page in netbeans 6.5.1 ?

<webuijsf:head  id="head1"> <script type="text/javascript" src="ddaccordion.js"></script> </weuijsf:head>

it doesn't work however it works fine inside dreamweaver or visual studio so i tried to make an html file and write this code 开发者_JS百科inside it and link it to jsf file also it doesn't work

 <head> <script type="text/javascript" src="ddaccordion.js"> </script> </head>

so any help pls


Put <script...> in the <h:head> tag:

<h:head>
   <script type="text/javascript" src="ddaccordion.js"> </script>
</h:head>
0

精彩评论

暂无评论...
验证码 换一张
取 消