Javascript in view

HI there,

How do I add a javascript function that gets called when the page loads
in one of my views?

Thanks,
steve

Hi,

I might sound like a noobie but this is what I’ve used in one of the
projects…


Redirecting you to the payment gateway...

I hope it helps :slight_smile:


Maku

On Thu, Mar 27, 2008 at 7:06 PM, Steve G. <

U can do like this either

in the layout

function your_unload_function() { //alert(' '); } function your_load_function() { //alert(' '); } On Thu, Mar 27, 2008 at 7:13 PM, मयंक जैन (makuchaku)