Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Javascript in Web Application Designer (WADuFF09

Hi Experts,

I was trying to write a for loop in WAD to display text repeatedly.

for (i=0; i<4;i++ )

{

document.write("test");

}

After compiling and executing the template in EP, what i notice in the generated HTML is a "/" is automatically added in front of <.

A warning message was displayed on WAD showing < is an invalid character.

I tried replacing with &LT;. It is not working as well. removing the ";", still not working.

Wonder if any comparison operators like <, >, <> can be added into WAD?

Please help. Points will be given. Thanks in advance.

Heng Meng, Yong

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question