![](/img/trans.png)
[英]drag and drop using packery and jqueryui didn't behave properly on angularjs
[英]angularjs expression didn't execute properly
我的HTML
{{myId}}
<iframe width="100%" height="325" src="http://example.com/direct/?param={{myId}}" frameborder="0" allowfullscreen></iframe>
第一个{{myId}}有效,但第二个则无效。 当我检查DOM仍为{{myId}}时,为什么呢?
请尝试ng-src而不是src:
<iframe width="100%" height="325" ng-src="http://example.com/direct/?param={{myId}}" frameborder="0" allowfullscreen></iframe>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.