Post the code for someFunction. As a general rule, you should put JavaScript in onclick and put a real URL in the href attribute.
Hi Acoder,
Thanks for the help, i am a very new developer for my current company.
Thus, i don't have the right to review any of my company's codes to anyone.
I am very sorry for that... however, with the help of my senior developer, we found out that the problem is not lie in the javascript but the <frame> tag.
It called itself again when we have something like <frame src="">.
We have tried to put <frame src="#"> or <frame src="dummy.htm"> but none of the solution works. We will try again with other methods.
Thanks again for everyone who have help up. :)
Regards,
Jason