Computer Science, asked by dipeshbmetha1641, 1 year ago

How to set focus to another textbox if textbox is empty in javascript?

Answers

Answered by mayankmhatre26p986vz
0

if(document.getElementById("Textbox1").value=="")

       alert ( 'Invalid Date' );

       document.getElementById('Textbox1').value='__/__/____';

       document.getElementById('Textbox1').focus();


Similar questions