Re: dynamic javascript
Jacob Kjome <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
I think you need to provide a little more information. Did you bind BTemplate to a View on a node containing these nodes and did you add the "script" model to the BTemplate and does the "script" model return something for the keys "JSFiles" and "JSOnPageLoad"? Jake At 11:48 AM 6/10/2003 -0700, you wrote: >Hi, >I want to create javascript at runtime to include a number of javascript >files and a dynamic function to call at onloading of a html page. > >I wrote the following code in html to do so. > > <script type="text/javascript" language="JavaScript" >class="Dir::Get_Data.script.JSFiles" > > </script> > <script type="text/javascript" language="JavaScript" >class="Dir::Get_Data.script.JSOnPageLoad"> > </script> > >Unfortunately, this does not work. Does anyone have any idea? >Thanks. >Rajesh >_______________________________________________ >Barracuda mailing list >[email protected] >http://barracudamvc.org/lists/listinfo/barracuda