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 :)
|
|
|
|