hi,
i have this:

<a href="#folder" onClick="return ok"></a>

this is working fine but,
i want switch the link for a function.
i want put a function calling the return
something like this:

function call_return_ok() {
call the href="#folder"
return "ok"
}

how can i do that?
thans a lot for your help