Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

html button javascript void

<a href="javascript:void(0);">
  Click here to do nothing
</a>

<a href="javascript:void(document.body.style.backgroundColor='green');">
  Click here for green background
</a>
Comment

PREVIOUS NEXT
Code Example
Javascript :: chartjs hide text inside bar 
Javascript :: javascript replace 
Javascript :: moment timezone get timezone offset 
Javascript :: js read from json2 
Javascript :: videojs cdn 
Javascript :: chrome input disable autofill 
Javascript :: Both npm and yarn have created lockfiles for this application, but only one can be used to install dependencies. 
Javascript :: find longest word in string javascript 
Javascript :: js add to array if not exists 
Javascript :: btoa javascript 
Javascript :: how to make a deep copy in javascript 
Javascript :: disable scroll react 
Javascript :: mongoose findbyidandupdate return updated 
Javascript :: react bind function to component 
Javascript :: useeffect hook react 
Javascript :: npm yarn run shell script 
Javascript :: get status of a user discord js 
Javascript :: react change state async 
Javascript :: function(a, b){return b - a} 
Javascript :: get random percentage javascript 
Javascript :: copy to clipboard jquery javascript 
Javascript :: angular 9 form value changes 
Javascript :: js input type range get value on select 
Javascript :: date js 
Javascript :: javascript multiply array with scalar 
Javascript :: node read file sync 
Javascript :: javascript title string 
Javascript :: owl.js cdn 
Javascript :: random rgba color javascript except black 
Javascript :: javascript allow only numeric characters 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =