Javascript Event
Javascript Event
onmouseout The user moves the mouse away from an HTML element
<!DOCTYPE html>
<html>
<body>
<option value="java">java</option>
<option value="php">php</option>
<option value="bootstrap">bootstrap</option>
<option value="jquery">jquery</option>
</select>
<p>When you select a new car, a function is triggered which outputs the value of the selected car.</p>
<p id="demo"></p>
<script>
function myFunction() {
var x = document.getElementById("mySelect").value;
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p>techinate.</p>
<p>techinate:</p>
<button onclick="myFunction()">Click me</button>
<p id="demo"></p>
<script>
function myFunction() {
</script>
</body>
</html>
Large image
<!DOCTYPE html>
<html>
<body>
<p>The function bigImg() is triggered when the user moves the mouse pointer over the image.</p>
<p>The function normalImg() is triggered when the mouse pointer is moved out of the image.</p>
<script>
function bigImg(x) {
x.style.height = "64px";
x.style.width = "64px";
function normalImg(x) {
x.style.height = "32px";
x.style.width = "32px";
</script>
</body>
</html>