I have a code like so:
<body style='opacity:0' onload='this.style.opacity=1'>
I would like to change opacity of body once everything is loaded. Is there a reason this wont work. Can I change this opacity? If I reference by the tag body it will work. For example using jquery :
<body style='opacity:0' onload='$("body")[0].style.opacity=1'>
Will work but :
<body style='opacity:0' onload='$(this)[0].style.opacity=1'>
Will not work. Can I use this somehow?