-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Pandurang_Nayak
Message 3 in Discussion
Pradeep,
window.location.href('EL_HomePage.aspx')
will not work.
The correct syntax is window.location = "EL_HomePage.aspx"; OR
window.location.href = "EL_Homepage.aspx";
About your other function, I don't have the background of what your
problem is. But why the "return false" after document.getElementbyID...
?
A return false on a button click negates the click
action.
Also don't get what you are trying to do with the event.keycode
=13.
Do explain.
rgds
Pandurang
-----Original Message-----
From: Rajiv R
[mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 5:35
PM
To: BDOTNET
Subject: Re: again same
urgency
New Message on BDOTNET
again
same urgency
Reply
Reply to Sender Recommend
Message 2 in
Discussion
From: Rajiv R
pradeep,
I dont see that line in the code.. :O
-----Original
Message-----
From: pradeep145
[mailto:[EMAIL PROTECTED]
Sent: Friday, July
18, 2003 12:18 PM
To: BDOTNET
Subject:
again same urgency
New Message on BDOTNET
again same
urgency
Reply
Reply to Sender
Recommend
Message 1 in
Discussion
From:
pradeep145
Hi all
i also feel same.i mean erroe
with in javascripe code.i think there is a
function oy property that is not supported by
IE.5.0.
i am sending my code that is written
on the button click event.
function
Check_EnterKey(strControl_Id)
{
if(event.srcElement.type
!= 'submit' && event.srcElement.type !=
'button' && event.srcElement.type !=
'reset' && event.srcElement.type !=
'file')
{
if(event.keyCode !=
13)
return true;
else
{
// If no
Control is passed
if(strControl_Id == '')
{
return
false;
}
// If
some Control is passed Click that
Button
else
{
document.getElementById(strControl_Id).click();
return false;
}
}
}
}
one more thing
IE5.0 does not support the folloeing
code.
window.location.href('EL_HomePage.aspx')
pls what could be the solution.
Thanks in advance.
Pradeep
Chaudhary
View other groups in this category.
View other groups in this
category.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]