Thank you.  That is exactly what I was looking for.

Thanks

On Apr 23, 1:52 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote:
> This might help.http://docs.jquery.com/Tutorials:Mouse_Position
>
> I also whipped up a simple demo 
> here:http://www.commadot.com/jquery/mousePosition.php
>
> Glen
>
> On Wed, Apr 23, 2008 at 6:40 AM, Kalpers <[EMAIL PROTECTED]> wrote:
>
> > I am trying to retrieve the location of the mouse click within the
> > browser window.  When a user clicks on an area that they thought was
> > click-able but is not I want to record that location.  There is a
> > similar application already out there called heat click but I would
> > like to create something more simpler in JQuery.  I only need to add
> > this to a couple of pages to see where there may be some issues with
> > the layout of the web page.  Right now I am using the following code
> > but it it returning the offset of the element which makes perfect
> > sense.
>
> > $(document).ready(function(){
>
> >            $("#Form2").click(function() {
>
> >                      var loc = $(this).offset();
>
> >                      alert(loc.left + " - " + loc.top);
> >            });
> >        });
>
> > This always returns 0 - 0 which is the offset of the Form2.
>
> > Thanks

Reply via email to