Hello Forum
Is there at way to retrieve clickresult from Radconfirm from within a javascriptfunction.
This might be a trivial question, im not sure, I have been starring me blind on solving this. :)
Here goes my last shot that didnt work, any hints are welcome:
function MainFn() {
var answer= confirmFn("OK CANCEL ?");
alert(answer);
if (answer==false)
return false; //Break here
//else do something more....
// return an end result
return false;
}
function confirmFn(text) {
var callBackFn = function (arg) {
if (arg) {
return true;
}
else {
return false;
}
}
radconfirm(text, callBackFn);
}
Is there at way to retrieve clickresult from Radconfirm from within a javascriptfunction.
This might be a trivial question, im not sure, I have been starring me blind on solving this. :)
Here goes my last shot that didnt work, any hints are welcome:
function MainFn() {
var answer= confirmFn("OK CANCEL ?");
alert(answer);
if (answer==false)
return false; //Break here
//else do something more....
// return an end result
return false;
}
function confirmFn(text) {
var callBackFn = function (arg) {
if (arg) {
return true;
}
else {
return false;
}
}
radconfirm(text, callBackFn);
}