Home Answers Viewqa JavaScriptQuestions How can I do it? .click();

 
 


G Máté
How can I do it? .click();
0 Answer(s)      7 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é

View Answers









Related Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.