Forum : using not operator
Brief description  about Online courses   join in Online courses
View avinash j j 's Profile

using not operator


respected sir / madem
I was not able to figure out how do we use a not operator please help
Asked by avinash j j | Aug 23, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
Hi Avinash,

Check the code below,

<script type="text/javascript" language="javascript">

job = confirm("Hi.. Are u searching 4 a job. Click OK if yes");

if(!job)
alert("User is still searching 4 a job.");
else
alert("User is employed");

</script>
Aug 24, 2010