i newly learning javascript,but the problem is that the programme doesnot run.i created function,call function,make alart,but still not run. can someone tell me what problems may be the caused for it?
Why don't you paste your code here so we can have a look ? anyway , you should first put it in <script></script>
i have already put <script></script> if(document.form name.id.value) then alart type document focus return true return false. but 2 ph no checking doesnot run correspondingly only one checking moveing
Without your javascript code and the HTML that calls it, there is not much anyone can help you with. If your alert is not working, you are not meeting the condition of your if statement. For debugging purposes, try making your first line of code the alert statement. Then go from there... After that, try adding an else to your if statement with an alert.