Top "Onclick" questions

An event which occurs when user clicked an object.

Change image source with JavaScript

So I'm new with JavaScript (this is actually my first attempt to make something work) and I'm having a bit …

javascript image onclick src
HTML checkbox onclick called in Javascript

I am having a bit of trouble trying to figure out how to get a certain part of my code …

javascript input checkbox label onclick
How to click or tap on a TextView text

I know this is so easy (doh...) but I am looking for a way to run a method on tapping …

android onclick listener textview
Call ASP.NET function from JavaScript?

I'm writing a web page in ASP.NET. I have some JavaScript code, and I have a submit button with …

javascript c# asp.net onclick
How can I simulate an anchor click via jquery?

I have a problem with faking an anchor click via jQuery: Why does my thickbox appear the first time I …

jquery html onclick thickbox
HTML img onclick Javascript

How do I have JavaScript open the current image in a new WINDOW with an ONCLICK event. <script> …

javascript onclick
python selenium click on button

I am quite new to python selenium and I am trying to click on a button which has the following …

python selenium selenium-webdriver onclick click
How do I add a simple onClick event handler to a canvas element?

I'm an experienced Java programmer but am looking at some JavaScript/HTML5 stuff for the first time in about a …

javascript html canvas event-handling onclick
Change CSS properties on click

I am trying to change the CSS of one element on click of another element. I've searched a lot but …

javascript jquery css jquery-ui onclick
How can I disable HREF if onclick is executed?

I have an anchor with both HREF and ONCLICK attributes set. If clicked and Javascript is enabled, I want it …

javascript html onclick anchor href