Hi Guys
I am hoping that someone can help as I am total stumped on this one. I am using Javascript to evaluate the contents of some variables. I can happily do stuff like:
alert("NETQUOTEVAR:variable");
and I get the value stored in the Actinic variable just fine. However what I am really trying to do is tell at any point who is logged in (not display it but just check and act accordingly). To do this I have tried:
alert("Actinic:NOWSERVING");
alert('Actinic:NOWSERVING');
alert(Actinic:NOWSERVING);
alert("<Actinic:NOWSERING/>")
alert('<Actinic:NOWSERING/>')
alert(<Actinic:NOWSERING/>)
But all I get is either the text: Actinic:NOWSERVING in the alert or a Javascript error. I actually want to do slightly more tricky stuff with the Javascript but I am using alert for simplicity sake in this post.
I guess the basic question is weather or not it is possible to use Actinic: variables in the same way as NETQUOTEVAR: variables.
Any help would be much appreciated.
Cheers.
I am hoping that someone can help as I am total stumped on this one. I am using Javascript to evaluate the contents of some variables. I can happily do stuff like:
alert("NETQUOTEVAR:variable");
and I get the value stored in the Actinic variable just fine. However what I am really trying to do is tell at any point who is logged in (not display it but just check and act accordingly). To do this I have tried:
alert("Actinic:NOWSERVING");
alert('Actinic:NOWSERVING');
alert(Actinic:NOWSERVING);
alert("<Actinic:NOWSERING/>")
alert('<Actinic:NOWSERING/>')
alert(<Actinic:NOWSERING/>)
But all I get is either the text: Actinic:NOWSERVING in the alert or a Javascript error. I actually want to do slightly more tricky stuff with the Javascript but I am using alert for simplicity sake in this post.
I guess the basic question is weather or not it is possible to use Actinic: variables in the same way as NETQUOTEVAR: variables.
Any help would be much appreciated.
Cheers.
Comment