开发者

prototype Event Observer not working

Please check what i am doing here false?

 Event.observe(form['postalcode'], 'blur', function(form) {return  updateCityname(form) }(form)); 

I am getting Javascript error "handle开发者_如何学JAVA is undefined"


Give this element an ID of "postalCode", it makes it a lot easier.

   $('postalCode').observe('blur', function(e) {
        var element = e.element()        
        var myForm = element.up('form')
        return updateCityname(myForm) 
    });
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜