Question

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

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top