Javascript allows Nested IF statements from Progress 4GL?

Status
Not open for further replies.
S

steffichong

Guest
Does Javascript accept nested IF statements coming from Progress 4GL? This piece of code below is placed inside the document ready function, is this acceptable in javascript? When the pdf appears, it shows nothing.. :(

<!--WSS IF get-value('action') = 'print' then DO: -->
<!--WSS IF get-value('action') = 'go' then DO: -->

newPopup("print_preview.html?win=pdf&programname=pdf_sample2.p",1250,1250);

<!--WSS END. -->
<!--WSS ELSE DO: -->

newPopup("print_preview.html?win=pdf&programname=pdf_sample.p",1250,1250);

<!--WSS END. -->
<!--WSS END. -->

Continue reading...
 
Status
Not open for further replies.
Top