Re: [Cppcms-users] Why wikipp calls document.write() to generate simple <form> tag?
Brought to you by:
artyom-beilis
From: CN <cn...@fa...> - 2016-01-25 09:43:08
|
Thanks for the prompt clarification! I am not debating. As long as its design has nothing to do with attack protection, I will leave it as is. Best Regards, CN On Mon, Jan 25, 2016, at 05:30 PM, mawan sugiyanto wrote: > i think it is not debatable .. just style of programming only .. > > > > On Mon, Jan 25, 2016 at 4:25 PM, CN <cn...@fa...> wrote: >> Hello! >> >> I noticed below part of file "page.tmpl" in wikipp long time ago. >> >> <script type="text/javascript"> >> <!-- >> document.write('<for') >> document.write('m actio') >> document.write('n="') >> document.write('<%= submit %>" me') >> document.write('thod="po') >> document.write('st">') >> --> >> </script> >> >> I have no idea about the moral of such design, but I did not ask why. I >> think I should not keep pretending understanding it any more! What is >> funny is that trying to figure out why, I ended up running into an >> article saying that document.write() doesn't work with Firefox when it >> encounter xhtml :-) >> >> Could anyone clarify for me: >> Why the most simple and straightforward HTML code "<form>" is not used >> instead? >> >> Thank you in advance! >> Best Regards, >> CN >> >> -- >> http://www.fastmail.com - The way an email service should be >> >> >> ------------------------------------------------------------------------------ >> Site24x7 APM Insight: Get Deep Visibility into Application Performance >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >> Monitor end-to-end web transactions and take corrective actions now >> Troubleshoot faster and improve end-user experience. Signup Now! >> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _________________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users -- http://www.fastmail.com - A fast, anti-spam email service. |