NEED HELP WITH "document.write"

wxdqz

New Member
Hello,
My name is michael and I'm building a new website and I have this javascript that when you hit the login button it will alert you that the password is wrong on a generated page. I was woundering if it is possible to use the "document.write" function to write wrong password to the login page in a certain spot without going to another page. If there is another way to do this please let me know by replying. I tryed other document.write things but it has to be a script of its own but i need it as a part of another script. here is the code:

if ((jim==bob)&&(jim==true)){

window.location=GrantedURL}
else {
suzy=suzy+1;
if (suzy){
window.document.write <-- This needs to write in a certain part of the same document

Please help me. :confused:
 
Back
Top