<script>
function analyzeColor3(myColor) {
if (myColor == "Blue") {
alert("Just like the sky!");
}
else if (myColor == "Red") {
alert("Just like shiraz!");
}
else {
alert("Suit yourself then...");
}
}
</script>
<h3>Favorite Color</h3>
<label>
<input type="radio" name="fav_color3" value="Blue" onclick="analyzeColor3(this.value);"> Blue
</label>
<label>
<input type="radio" name="fav_color3" value="Red" onclick="analyzeColor3(this.value);"> Red
</label>
<label>
<input type="radio" name="fav_color3" value="Green" onclick="analyzeColor3(this.value);"> Green
</label>
<label>
<input type="radio" name="fav_color3" value="None" onclick="analyzeColor3(this.value);"> None
</label>
All muhaza's note in developing website. Front-end & uiux method. Real life implementation for webdesigner.
Saturday, 23 February 2019
js if else : input
email mailto: pretext
<a href="mailto:designoutsourced.com+info@gmail.com?subject=Maklumat%20lanjut%20pakej&body=Hai,%20saya%20berminat%20tahu%20lebi...
-
Looking at vue-cli repository I see two different ways of scaffolding vue projects. The v3 (beta) version, installed as npm install ...
-
component need at least this 3 component file 1. customers.component.ts import { Component , OnInit } from '@angular/core...