Unable to get property 'apply' of undefined or null reference

1,448 views
Skip to first unread message

Sitthykun LY

unread,
Apr 4, 2013, 2:40:38 AM4/4/13
to mootools-users
Dear mootoolser,

I get this error in IE8 with mootools-core 1.4.5

SCRIPT5007: Unable to get property 'apply' of undefined or null reference
mootools-core.js, line 261 character 50


I think nobody wanna back to this version, it work as well in IE9/IE10

Thanks

Sanford Whiteman

unread,
Apr 4, 2013, 2:47:22 AM4/4/13
to mootool...@googlegroups.com
Do you have a jsFiddle?

-- Sandy

Sitthykun LY

unread,
Apr 4, 2013, 6:19:26 AM4/4/13
to mootools-users
I'm using Joomla!, it's not standalone
it errors when I log to the site.

Every line of my mootools code I use document.id, I've set jQuery.noConflict() and jQuery(function($))
Ah!! I use jQuery inside my mootools

Ex:
window.addEvent('load', function(event) {
     document.id('dd').addEvent('click', function(e){
         jQuery(function($){
             $('#liveSupport')
             .....
         });
     });
});


I think it should not caused problems ...

Thank you for quick reply!!


On Thu, Apr 4, 2013 at 1:47 PM, Sanford Whiteman <sa...@figureone.com> wrote:
Do you have a jsFiddle?

-- Sandy

--
 
---
You received this message because you are subscribed to the Google Groups "MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mootools-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Sitthykun LY
a little developer in the big world \o/
mobile: +85595 7788 39
skype: cityx9
twitter: sitthykun <http://twitter.com/sitthykun>
site: niyum.com

Arian Stolwijk

unread,
Apr 4, 2013, 6:43:55 AM4/4/13
to mootool...@googlegroups.com
The code is a bit weird, but should kind of work.

Can you create a http://jsfiddle.net/ so we can actually run the relative code?

Lee

unread,
Apr 4, 2013, 7:03:20 AM4/4/13
to mootool...@googlegroups.com
What a great question for a FAQ. Does MT have one? Is that something for
the new-site-wishlist?

On 04/04/2013 12:43, Arian Stolwijk wrote:
> The code is a bit weird, but should kind of work.
>
> Can you create a http://jsfiddle.net/ so we can actually run the
> /relative/ code?
>
>
> On Thu, Apr 4, 2013 at 12:19 PM, Sitthykun LY <ly.sit...@gmail.com
> <mailto:ly.sit...@gmail.com>> wrote:
>
> I'm using Joomla!, it's not standalone
> it errors when I log to the site.
>
> Every line of my mootools code I use document.id
> <http://document.id>, I've set jQuery.noConflict() and
> jQuery(function($))
> Ah!! I use jQuery inside my mootools
>
> Ex:
> window.addEvent('load', function(event) {
> document.id <http://document.id>('dd').addEvent('click', function(e){
> jQuery(function($){
> $('#liveSupport')
> .....
> });
> });
> });
>
>
> I think it should not caused problems ...
>
> Thank you for quick reply!!
>
>
> On Thu, Apr 4, 2013 at 1:47 PM, Sanford Whiteman
> <sa...@figureone.com <mailto:sa...@figureone.com>> wrote:
>
> Do you have a jsFiddle?
>
> -- Sandy
> --
>
> ---
> You received this message because you are subscribed to the
> Google Groups "MooTools Users" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to
> mootools-user...@googlegroups.com
> <mailto:mootools-users%2Bunsu...@googlegroups.com>.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
>
> --
> Sitthykun LY
> a little developer in the big world \o/
> mobile: +85595 7788 39 <tel:%2B85595%207788%2039>
> skype: cityx9
> twitter: sitthykun <http://twitter.com/sitthykun>
> site: niyum.com <http://niyum.com>
>
> --
>
> ---
> You received this message because you are subscribed to the Google
> Groups "MooTools Users" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to mootools-user...@googlegroups.com
> <mailto:mootools-users%2Bunsu...@googlegroups.com>.
Reply all
Reply to author
Forward
0 new messages