I have a javascript file (js) and in my jsp I write this code:
 
<script language='javascript' src='<html:rewrite
page="/modules/common/themes/${sessionScope.theme}/resources/javascript/atri
lUtil.js"/>' type='text/javascript'></script>
 
When I make a call to one function located in the js file:
 
<html:select property="themeName" value="${sessionScope.theme}"
onchange="javascript:selectTheme()">
     <html:optionsCollection name="themesList" value="name" label="name"/>

</html:select> 
 
give an error: Error: selectTheme is not defined
 
how can I find a solution????
 
Thanks

Reply via email to