CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 "Microsoft JScript runtime error: Object required"

Print topic Send  topic

Author Message
Milena
Posted: 10/12/2005, 4:10 PM

I have problem vith my ASP.Net web application. In my login page I have JsCript
<script>
function getField(arg){
if(navigator.appName == "Netscape"){
return document.getElementById(arg);
} else {
return document.all(arg);
}
}


getField("txtPassword").value = getField("txtHiddenPassword").value;

</script>

And when I build project there is no error , but letter when the explorer is starting .The proces is stopped and this is the error

Microsoft JScript runtime error: Object required

in the last line of a script(getField("txtPassword").value = getField("txtHiddenPassword").value)

Pleace help me:(
Stan
Posted: 10/13/2005, 7:59 AM

Milena

Are you sure that txtPassword and txtHiddenPassword are correct IDs? You should open HTML source of page in browser, and make sure that such controls are exist.

Stan
Milena
Posted: 10/15/2005, 11:21 AM

Thanks Stan but the problem vas in a connection with the database.

Now is Ok :)

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.