Click to See Complete Forum and Search --> : onclick won't cripple default link handling


dickharris
01-21-2003, 08:04 PM
O'Reilly manual says 'return false' in onclick handler will cripple default following of link. I can't get this to work. Link is followed no matter true or false. Alerts show function is being entered and performed. Suggestions??

Cris_robin
01-21-2003, 08:18 PM
try calling the function like that

onclick="return yourfunction()"

it should work