Using code below in a TAF returns undefined.

<@SCRIPT >
function pd1(d) {
if(d.charAt(0)==0) {
nd = d.toString().charAt(1);
return nd;
} else {
nd = d.toString();
return nd;
}
}
</@SCRIPT>
<br>
<@SCRIPT >

The results are:

undefined
1

Am I misunderstanding the abilities of the Witango server side javascript?

I'm on Witango Win 5.0.1.054

Reply via email to