Link to home
Create AccountLog in
Avatar of Whing Dela Cruz
Whing Dela CruzFlag for Anguilla

asked on

Html input text color the frame line

Hi experts, I wish to make a red line on a certain input text upon clicking the button.

<!DOCTYPE html>
<html lang="en-US">
<body>
<input type="text" id="i75">
 <button onclick="myFunction()">Click me</button>
<script>
function myFunction()
{
  document.getElementById("i75").value = red the frame line
}
</script>
</body>
</html>
ASKER CERTIFIED SOLUTION
Avatar of Leonidas Dosas
Leonidas Dosas
Flag of Greece image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Whing Dela Cruz

ASKER

Its working sir, thank you so much!