javascript+setting anchor href
i've tried every thing but this doesnt work
<aonclick="javascript:changeLang(this)" >
function changeLang(obj)
{
obj.href="changeLang.jsp?lang=2";
}
in this article... http://www.devx.com/tips/Tip/5498.. . some one tells to use
href="javascript:changeLang(this)
instead of onclick="javascript:changeLang(this)"
but this gives exception..
Your quick response will be greatly appreciated...

