How can I do it? .click();

 
 

Share on Google+Share on Google+

G Máté
How can I do it? .click();
0 Answer(s)      5 years and 2 months ago
Posted in : JavaScript Questions

I have a very unusual problem. I want to make a script like this:

<script>
x = document.getElementById("a");
x.click();
</script>

So it's click on an element witch one Id's is "a", but I want that it make mouseup in this element. How can I do it, because if I write:

<script>
x = document.getElementById("a");
x.mouseup();
</script>

it's invaild.

Please help!

Máté

Ads
View Answers
Ads









Related Tutorials/Questions & Answers:

Ads

 
Advertisement null

Ads