可能原因:
1.url是否正确?
2.getValue()/setValue()中是否有错误?
3.是否将这两个方法设置为input的方法了?也就是有没有<public:method name="getValue">、<public:method name="setValue">?
1.url是否正确?
2.getValue()/setValue()中是否有错误?
3.是否将这两个方法设置为input的方法了?也就是有没有<public:method name="getValue">、<public:method name="setValue">?
所以你必须等到
inputID.readyState=="complete"才能保证能用它
最好在htc中定义这个component的名字。
那么
if(inputID.behaviorName)是个最好的判断方法。