I hope someone can help me out. I am trying to go from .40 to 1.0 and I can't seem to figure out how to convert the following code:
YAHOO.util.Event.on('keyword', 'keyup', callFunction);
It is just a listener that listens for a 'keyup' event in the 'keyword' textbox and calls 'callFunction' upon the event occurring.
Thanks in advance for the help
YAHOO.util.Event.on('keyword', 'keyup', callFunction);
It is just a listener that listens for a 'keyup' event in the 'keyword' textbox and calls 'callFunction' upon the event occurring.
Thanks in advance for the help

|
#2
| |
|
Quote:
Ext.get("keyword").addListener('keyup', callFunction);
__________________
Ext readings for beginners | Ext manual's resources section | Ext documentation center | Ext Tutorials | Ext screencasts | Ext FAQs | Ext Forum Index | Various Debugging Tools for IE & Firefox My Ext's Wiki user page ![]() |
本文探讨了从YUI库的事件监听器转换到ExtJS库的方法。具体介绍了如何将YUI中针对'keyword'输入框的'keyup'事件监听转换为ExtJS的等效实现。
3667

被折叠的 条评论
为什么被折叠?



