<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
debug VISUAL STUDIO CODE Error Fetch Extensions
Press Windows + S , search for "Environment Variables" , and select: 👉 "Edit the system environment variables" Click...
-
component need at least this 3 component file 1. customers.component.ts import { Component , OnInit } from '@angular/core...
-
//editable cookies enable $( function (){ var liveEdit = document .getElementById( 'live-edit' ); $(liveEdit).blur( f...