Thanks for the fast reply!
I tried that but its not even getting that far. I placed an alert right before those line and its not reached.
Main Topics
Browse All TopicsHi I don't know much java script, here is some code I'm trying out
function validate(){
var user = document.optionsForm.user.
alert(user);
-> if(isWhitespace(user)){
warnInvalid("Must enter the Database login name");
return false;
}
var pw1=document.optionsForm["
var pw2=document.optionsForm["
alert(pw1,pw2);
if(pw1==pw2){
return true;
}
else{
warnInvalid("The passwords entered do not match");
return false;
}
}
The html document has a form optionsForm with inputs user password1 and password2. onsubmit of the for this function is called. When I fill out the fields and press submit I'm getting a Object expected error. it says the error is coming form line 9 which is the isWhitespace(user) line. But when the alert box goes or it has displays the correct value? I'm not sure what is happening.
Any Ideas?
Thanks
David
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
i want to know that how can i remove default icons from the system tray using vbscript in html.i use this script to creat the object on my system tray but i want to remove an object/icon which is already on system tray.
<script>
function MsngrCreateObj() {
MsngrObj=new ActiveXObject("MSNMessenge
</script>
<SCRIPT event=onload for=window language=vbscript>
on error resume next
dim MsngrObj
set MsngrObj = CreateObject("the name")
If Err.Number <> 0 Then
Else
MsngrCreateObj
ExecuteGlobal "MIR"
End if
</SCRIPT>
but i want to remove or delete the icon.any icon of my choice so plz help me send me the source which can i use in my web page thanx
Business Accounts
Answer for Membership
by: Lord_McFlyPosted on 2004-04-21 at 20:30:31ID: 10885215
Change these to...
assword1.v alue; assword2.v alue;
var pw1=document.optionsForm.p
var pw2=document.optionsForm.p