Today i encountered a problem with anchor tag in IE 6.
Basically it is told that ... we should write ..
[code=javascript]<a herf="javascrip t:void(0);" onclick="functi on_call(..);ret urn false;">Display Name</a>[/code]
Why it is suggested? If inside that function call if i try to change the href value that window then it does not work if i don't have return false statement after function call. If i have that then it works. But if i have return false inside the function then it also does not work. Why does it happen ?
Basically it is told that ... we should write ..
[code=javascript]<a herf="javascrip t:void(0);" onclick="functi on_call(..);ret urn false;">Display Name</a>[/code]
Why it is suggested? If inside that function call if i try to change the href value that window then it does not work if i don't have return false statement after function call. If i have that then it works. But if i have return false inside the function then it also does not work. Why does it happen ?
Comment