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">
<input type="text" id="i75">
 <button onclick="myFunction()">Click me</button>
function myFunction()
  document.getElementById("i75").value = red the frame line
Avatar of Leonidas Dosas
Leonidas Dosas
Flag of Greece image

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


Its working sir, thank you so much!