Consultor Eletrônico



Kbase P117514: How to embed SpeedScript in a JavaScript ( WSS tag )
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/25/2006
Status: Unverified

GOAL:

How to embed SpeedScript in a JavaScript ( WSS tag )


FIX:

You can embed SpeedScript in a JavaScript by using the
WSS tag. Here is an example:
<script language="javascript">
window.alert("i love javascript");
<!--wss
def var x as char.
def var y as char.
create customer.
customer.name = "New Company".
for each customer:
{&out} 'document.write(~"' customer.name + "<BR>" '~"~)~;'.
end.
-->
document.write("<B>hello world!</b>");
</script>

Progress Software Technical Support Note # 1721