cdotyone / mochaui

development tree for MochaUI
http://mochaui.org/demo/
Other
290 stars 83 forks source link

the mootools internal element method $() not work. - 83 #23

Closed mui-org closed 14 years ago

mui-org commented 14 years ago

Reported by yjengine...@sina.com, Oct 01, 2009

Hi, I see you said you will shorten the expression of belowing.

// Returns the window's Class instance
$('myWindow').retrieve('instance').close();

However, there comes out a problem to the mootools internal element method $(). Because when I use the the expression below, it will not work.

alert($('group_after_add_form').getElementById('id').value);

So, I suggest do not override the mootools internal method $(), but use a different name instead, eg. mui_$() or something else.

mui-org commented 14 years ago

retreive is used for element storage not sub element selection, need better example if you feel this is still an issue