+ 3
Can anyone tell me what is the problem with my code??
There is no output coming for this code. I don't know what the error or problem is. https://code.sololearn.com/WI98ur6CmVMq/?ref=app
5 odpowiedzi
+ 1
https://code.sololearn.com/WI98ur6CmVMq/?ref=app
Finally, I have solved this problem myself only.
Thank You all for your support !!!
Solved!!!
👍
0
I'm not sure about the error but I've made your code shorter.
https://code.sololearn.com/W4V796XRUo67/?ref=app
0
Big Mungus
Here in the output, there is coming " the word frm is not defined" but frm is my form's name so I want to solve that error why it is not giving proper output.
0
With this code: var pwd1=frm.password1
You are trying to assign "frm.password1" to a variable. However, "frm" is the name of the <form> and it has no value. "password1" also has no value because the user hasn't entered a password yet. I don't know much about JavaScript so I could be wrong.
0
Oh..yes I have to remove var from my code.....
Thank You So much .....
I got my mistake
Big Mungus