{true && true}为什么报错?

{true && true}为什么报错?

比如一个button

<mx:Button id="delButton" label="Delete" enabled="{true && true}" />


为什么enabled的地方总报错呢.

在{}中不能用&&关系吗?

可是在{}中用||就没问题?
 

回复:{true && true}为什么报错?

不要在代码模式下输入&&
或者在代码模式下把
&&
换成:

[code]&amp;[/code]
 

回复:{true && true}为什么报错?

解决大问题了,呵呵,我还纳闷呢怎么"||"就"&&"不行呢,非常感谢!
 
1  /  1  页   1 跳转

版权所有 riachina.com   Sitemap

Powered by Discuz!NT 2.1.202    Copyright © 2001-2008 Comsenz Inc.
Processed in 0 second(s) (Cached).
返顶部