2 Replies Latest reply on Nov 16, 2006 6:40 AM by asd asdsda

    external file with javascript

    asd asdsda Newbie

      i have a page with a javscript:

      <ui:composition>

      <f:view>


      <h:form>

      <.script >
      function prova(){
      alert('hello!');
      }
      <./script >

      <h:commandLink id="..." value="..." action="..." onclick="prova();" />

      </h:form>
      </f:view>
      </ui:composition>


      it is possible to use an external file with all my javascript functions?
      how?

      thanks