一、JS
1、等于、不等于,逻辑与、逻辑或
==,!=,&&,||
----------使用and、or进行逻辑连接,虽不报错,但不能执行
----------在OpM中使用&&,会报错:The entity name must immediately follow the '&' in the entity reference.------可用&&(网页设计特殊字符编码大全)代替
eg: if( 1==1 && 1==1 ){
2、组件的jsvar的取值
在JS中判断时候空值(没有填、选择)------jsvar.getValue
----------用jsvar.value或jsvar,对于textField何时都 取值为“”;如对一个不存在的widget取值,则程序终止
对于combo,如选择了则可以取到值,如没选择则取值为unassigned