Hi,

>From my understanding I think you can just do the
following:

1) create a js file (eg myapp.js)

2) inside myapp.js include the onLoad function call

DynAPI.onLoad=function(){
 // some code here
}

// other code here


--
Raymond Irving
--- Arijit Das <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Is there a way to move all the items we would
> normally put within the onLoad
> fuction on a page to a .js file and then just call
> that file using the
> 'script' and 'src' tag?
> 
> The reason I'm want to do this is that I'm trying to
> make my pages fit the
> xhtml standard, for which I'm supposed to put all my
> javascript within CDATA
> tags.  But doing so crashes all my scripts, so I
> thought an external include
> might be the solution?  Anyone else dealing with
> this?
> 
> Thanks,
> Arijit
> 
> 
> 
>
-------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/dynapi-help


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to