I am developing a windows 8 app using javascript. I am trying to fetch dynamic content from server but I cant use dynamic content directly so I am using toStaticHTML(result) for getting result.

But My dynamic content includes

Male <input type="radio" name="sex" value="1"/> Female<input type="radio" name="sex" value="0"/>

But name attribute is not accepted in toStaticHTML method. What can i do to solve this problem. Thanks

有帮助吗?

解决方案

Wrap your result in MSApp.execUnsafeLocaLFunction() as described here.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top