Closed mui-org closed 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.
retreive is used for element storage not sub element selection, need better example if you feel this is still an issue
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.