就会popup alert
我要怎样set focus呢?
- if ( ! checkUnique('user_new_nric', $_POST['user_new_nric']) )
- {
- echo '<script = "JAVASCRIPT">alert("The new NRIC you used is associated with another user. Please try again!")
- </script>';
- }