This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / I need your help on 2 Sample codes Thanks a lot. I am a begainer. Don't laugh at me.
-waokool(waokool);
2002-6-24
{2634}
(#596711@0)
-
1.应该是 == "none",而不是 = "none" 2.不用第一个html文件,只使用asp那个,post给自己
-bingle(bingle);
2002-6-24
(#596741@0)
-
Thanks, the first problem has been fixed. I am working on the second problem. Tell me more detail if you can. Thanks
-waokool(waokool);
2002-6-24
(#597976@0)
-
Why don't you just place a simple javascript in the first page to check??? As like you did in the first example.
-jeffrey815(Smartiecat);
2002-6-24
(#598035@0)
-
The second sample is simplified pretty much from original intendency.The problem is to how to retrieve and redisplay the entered form data. It's not to check if the filed is empty or not.Thank you anyway
-waokool(waokool);
2002-6-24
(#598161@0)
-
Okay. Most likely in any website, you have to keep the username information for further use. So use a session vbl to store the username. And then in the first page, you will have back end VBScript or JScriptto determine whether the session vbl has value. If it does, set the default value to the session vbl, esle, leave the default value empty.
Though it seems like you need to put an if statement, but the problem can be simplified to 1 line by using syntax such as
Session.username=="user"?Response.write(Session.username):Response.write("")
in JScript.
-jeffrey815(Smartiecat);
2002-6-24
{361}
(#598207@0)
-
第二个,用login.asp + valid.asp,valid不通过,就把两个值再post回去显示即可。
-xanada(㊣流水);
2002-6-24
(#598087@0)
-
Too abstract for me.Could u show me some sample codes? I'll appreciate that.
-waokool(waokool);
2002-6-24
(#598193@0)