If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

<a href="#" onclick='dhtmlx.confirm({title:"Redirecting", text:"You are now leaving the site.",callback:function(result){if(result!==false){location.href='test.html'};}});'>test link</a>

i'm not sure what 'result' does it return, but i'd try this

Thanks Padonak, that worked.
In the future, if I decide to add different js library's, the "callback:function(result){if(result!==false){location.href='test.html'};}});" will work as well? Is that just a universal / general way of a callback function?