my code
[code]
<!DOCTYPE html>
<!–
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
–>
<html>
<head>
<meta charset=”UTF-8″>
<title>Our Local site</title>
<script type=”text/javascript”>
function ab(){
var container = document.getElementById (“body”);
var abc = container.getElementsByTagName (“input”);
alert(“abc”);
}
</script>
</head>
<body>
<input id=”t1″type=”text” placeholder=”table name”><br>
<input id=”s1″type=”text” placeholder=”skill”>
<input id=”s2″type=”text” placeholder=”skill”>
<input id=”s3″type=”text” placeholder=”skill”>
<input id=”s4″type=”text” placeholder=”skill”>
<input id=”s5″type=”text” placeholder=”skill”>
<input id=”s6″type=”text” placeholder=”skill”>
<input id=”s7″type=”text” placeholder=”skill”>
<input id=”s8″type=”text” placeholder=”skill”>
<input id=”s9″type=”text” placeholder=”skill”>
<input id=”c1″type=”text” placeholder=”city”>
<input id=”c2″type=”text” placeholder=”city”>
<input id=”c3″type=”text” placeholder=”city”>
<input id=”c4″type=”text” placeholder=”city”>
<input id=”c5″type=”text” placeholder=”city”>
<input id=”c6″type=”text” placeholder=”city”><br>
<input id=”r1″type=”text” placeholder=”Region in city”>
<input id=”r2″type=”text” placeholder=”Region in city”>
<input id=”r3″type=”text” placeholder=”Region in city”>
<input id=”cn1″type=”text” placeholder=”country”>
<input id=”cn2″type=”text” placeholder=”country”>
<input id=”cn3″type=”text” placeholder=”country”>
<input id=”l1″type=”text” placeholder=”Latitude in degrees”>
<input id=”l2″type=”text” placeholder=”Longitude in degrees”>
<button id=”x” onclick=”ab()”>Click Me</button>
</body>
</html>
i cant find a way to find textboxes that are empty upon clicking the button….