Posted on: 3/12/2011 12:10:19 AM | Views : 242

using vb.net/asp.net 2005
I have a content page (<asp:content>) where I am using javascript and normally I am adding the attribut in the code-behind page. however I now need to add a javascript function that will cause when the body or panel loads.
I have a test javascript function that simply shows an alert box but I cannot get it to display, please help.
Is there a special way to do this in a content page? thanks
<table onload="test();"> javascript function test() { alert('test'); }
...

Go to the complete details ...