Вопрос

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