...

View Full Version : object expected



bobz
05-25-2006, 05:15 PM
friends,
i am always getting object expected at the onclick event. please suggest me here. i am not getting where i am going wrong



<html>
<head>
<title>Session expired</title>
<script type="javascript" >
function f5(las){
opener.f6(las)
self.close()
}
</script>
</head>
<body>
<form name="laa" action="" method="get" >
<input type="button" name="sess" value="sess" onClick="return f5(this.name)">
</form>
<p>Please login again. Press OK </p>

</body>
</html>


cheers

Kor
05-25-2006, 05:35 PM
You don't need the return remove it

and <script type="text/javascript">

Beagle
05-25-2006, 06:59 PM
it looks like this script is supposed be in a pop-up window. Is it?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum