Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to make a html link execute a javascript function

<a href="javascript:alert('Hello!');">Clicky</a>
<!--or-->
<button onclick="alert("Hello")">Click Me!</button>
Comment

PREVIOUS NEXT
Code Example
Html :: redirect html 
Html :: how to make a clear button in javascript 
Html :: add frame to div 
Html :: ionic button trigger ion-datetime 
Html :: marquee tag in html 
Html :: render text as html react 
Html :: a open in new tab 
Html :: html phone number validation pattern 
Html :: how to run python in html 
Html :: html basic code 
Html :: bootstrap responsive table 
Html :: how to make a div stick to bottom of page bootstrap 
Html :: select empty option 
Html :: dropdown bootstrap 
Html :: meta colors 
Html :: meta http-equiv x-ua-compatible 
Html :: add manifist to html 
Html :: display object with indentaion in html 
Html :: non dismisal modal bootstrap 
Html :: html format date 
Html :: how to parse html data using beautifulsoup 
Html :: html not a language 
Html :: html input datetime-local 
Html :: placeholder in input field MVC 
Html :: facebook icon in html 
Html :: how to add a favicon to html 
Html :: how to add bgcolor in html 
Html :: html table multiple headers 
Html :: go to id html 
Html :: pass data from blade/laravel to vue 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =