This topic is locked

mouseenter is not a function

9/10/2011 9:57:49 AM
PHPRunner General questions
O
orodriguez author

Hello,
I'm using PHPRunner 5.3 build (7474), which from this post, it already has JQuery 1.3.2 included.
And from this page, says that ".mouseenter( handler(eventObject) )" ... "version added: 1.0"
I've added following code for a list page in the JavaScript OnLoad Event



$("a").mouseenter(function(e){

e.preventDefault();

$("a").css("color","red");

})


When opening in browser, page just stays with the loading message.

In firefox, with firebug, i get the following error:



$("a").mouseenter is not a function

[Detener en este error] $("a").mouseenter(function(e){


ANY SUGGEST ?
btw, using mouseclick or mouseover, instead of mouseenter, works fine.

P
procheck 9/12/2011

The link you provided says this:
The mouseenter JavaScript event is proprietary to Internet Explorer
So your Firefox message makes sense.

O
orodriguez author 9/12/2011

It's true, but also in the same paragraph says:
jQuery simulates this event so that it can be used regardless of browser. This event is sent to an element when the mouse pointer enters the element. Any HTML element can receive this event.
And as you can see in my first post, i'm calling using JQuery function

$("a").mouseenter(function(e)


Any suggest ???

O
orodriguez author 9/22/2011

Any staff member could comment about this please ?

Admin 9/22/2011

If you need assistance from support team post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. Make sure you are not choosing 'Compress Javascript files' option on 'Output directory' screen before uploading your project.