Mouse Click Events to objects??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chazzy69
    New Member
    • Sep 2007
    • 196

    Mouse Click Events to objects??

    Firstly is it possible to send mouse clicks to a certain object on a page?

    If so can you give a example of this; i found this code that will send a mouse click to the body-

    Code:
    document.body.click();
    But i need to send a mouse click to a certain object on a page i.e. between 2 <div> tags.

    Thanks heaps,
  • Rsmastermind
    New Member
    • Sep 2008
    • 93

    #2
    Can you please tell us what you want to do exactly?
    If you will tell us what you want to perform we will be ablle to help
    you.......

    Comment

    • chazzy69
      New Member
      • Sep 2007
      • 196

      #3
      Ok i think i found an alternate solution; i was just trying to change the screen when a certain part of the screen was clicked on.


      Thanks anyways

      Comment

      • Rsmastermind
        New Member
        • Sep 2008
        • 93

        #4
        Anyways If you have the alternate its ok.But If you want to do this then you can see a thing which is a bit complex but interesting.jus t look ate the things like
        Code:
        bindAsEventListener(this);this.click ();//where this is the id of the div.

        Comment

        • chazzy69
          New Member
          • Sep 2007
          • 196

          #5
          Sounds interesting, ill have a look at it.

          It looks like im going to be using javascript mabey to send mouse clicks and php to move the mouse lol,

          Thanks Heaps ppl :)

          Comment

          Working...