<html>
<script>
function conf(){
var c=confirm('are you Web developer');
if(c)
{
alert('thanks for checking');
}
else{
alert('use this Code For webpage');
}
}
</script>
<body>
<input type='button' value='click this' onclick='javascript:conf()'>
</body>
</html>
<script>
function conf(){
var c=confirm('are you Web developer');
if(c)
{
alert('thanks for checking');
}
else{
alert('use this Code For webpage');
}
}
</script>
<body>
<input type='button' value='click this' onclick='javascript:conf()'>
</body>
</html>