thethuy nguyen wrote:I am using the window.onload event for a set of html tags that i have below the form tags. I am new to both javascript and jQuery and i am trying to learn both ways (javascript and jQuery)
That makes no sense either. jQuery is a JavaScript library. It's not JavaScript
or jQuery.
In any case, you either use jQuery or you don't. As I already said, mixing a ready handler into an load handler won't work. Either use the ready handler or use the unload handler. Not both.
So if you are serious about wanting to learn and get things working, then start listening.
Do you want to do this with or without jQuery? If with use a ready handler. If without, use a load handler. No both.
So are you ready to get serious?