Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Mozilla JavaScript

  Asked By: Binge    Date: Aug 01    Category: Java    Views: 562
  

can anyone please answer this question.. i spend all day..but no
luck.. here is the question ....

I am using Mozilla 1.3 and I Am using DOM2
I have a item which is a "SPAN" element , I want to double click on
it. I found out that double click is not supported in Mozilla 1.3.
Can anyone tell me what else I can try.

I tried this but its not working...

var e = document.createEvents("MouseEvents");
e.initMouseEvent("click", true, false, null, 0, 0, 0, 0, 0, false,
false, false, false, 0, item );

item.dispatchEvent(e);


This code only works if I have "A" tag but does now work in "SPAN"
element. if anyone have any clue.. will help me allot.. so.. please
let me know...

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Mozilla JavaScript Or get search suggestion and latest updates.




Tagged: