javascript - Onclick feature over image -


i trying make text appear when user clicks on image cannt work. please me i'm doing using javascript.

thanks

here go, and example:

<img src='http://placehold.it/350x150' onclick='alert("text appears...")'/>

here's example showing how can alert , write text div, since alert of limited value. can write div


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -