«as400»all
Content-Type: text/html
X-XSS-Protection: 1;
«!doctype html»
«html»
«head»«title»Test on trim«/title»
«meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"»
«script language="JavaScript"»
function TS() {
rightNow = new Date();
year=rightNow.getFullYear();
month=(rightNow.getMonth()+1);
day=rightNow.getDate();
hours=rightNow.getHours();
minutes=rightNow.getMinutes();
seconds=rightNow.getSeconds();
TimeStamp="ts"+year+month+day+hours+minutes+seconds;
return TimeStamp;
}
«/script»
«/head»
«body text=black bgcolor=white»
«h1»«font color=blue face="souvenir lt bt"»
Test on trim«/font»«/h1»
«form name=form1 method=post action="/cgidev2p/trim.pgm"»
«input type=hidden name=request value="/%nxtrequest%/"»
«script language="JavaScript"»
document.write("«input type=hidden name=ts value="+TS()+"»")
«/script»
«table»«tr»«td»
«table border=1 cellspacing=0 callpadding=0»
«tr»«td»«b»updhtmlvar«/b» parameters«/b»«/td»
«td»«b»result«/b»«/td»«/tr»
«tr»«td»Initialize and '/%request%/'«/td»
«td»«font face=courier»«pre»-->/%result1%/<--«/pre»«/font»«/td»«/tr»
«tr»«td»Just '/%request%/'«/td»
«td»«font face=courier»«pre»-->/%result2%/<--«/pre»«/font»«/td»«/tr»
«/table»
«/td»«/tr»
«tr»«td align=center»
«input type=submit value="Try /%nxtrequest%/"»«/td»«/tr»
«tr»«td»«br»«br»
«a href="/cgidev2p/dspsrc.pgm?cgiinp01=cgidev2&cgiinp02=demohtml&cgiinp03=trim" target="_blank"»display
the HTML of this page«/a»«br»
«a href="/cgidev2p/dspsrc.pgm?cgiinp01=cgidev2&cgiinp02=qrpglesrc&cgiinp03=trim" target="_blank"»display
the RPG source of this page«/a»«br»
«/td»«/tr»«/table»
«/form»
«/body»«/html»
|