cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Bachta" <tbac...@kopent.com>
Subject Javascript in Cocoon
Date Mon, 19 May 2003 21:00:10 GMT
How would I include a .js file in my cocoon xsp page, and how would I
implement a function in that file?

This is what I have in a regular html/jsp page

<script language="JavaScript" src="datepicker.js">
....
<td>
<html:text property="beginningDate"/>
<a href="javascript:show_calendar('searchCriteriaForm.beginningDate');"
onmouseover="window.status='Date Picker';return true;"
onmouseout="window.status='';return true;"><img
src="images/show-calendar.gif" width=24 height=22 border=0></a>
</td>

Thanks for the help.

Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message