Click to See Complete Forum and Search --> : intresting problem!
pelegk1
10-23-2003, 02:40 AM
wen u have a link like this
<a href="#" onClick="redirectMe()">redirect me </a>
an js function
function rdirectMe(){
window.location="page111.asp?x=1&z=2345";
}
isnt working !!!!
why is that?how to bypas it?
requestcode
10-23-2003, 07:03 AM
I did notice that you have miss spelled the function or the call to the function, but that may be a typo error. Another problem in some older versions of IE5 the void character "#" would cause the onClick not to work. A way around it would be to code it this way:
<a href="javascript:redirectMe()">redirect me </a>
pelegk1
10-23-2003, 07:09 AM
beacuse i have puten an alert that showed me it called the function
requestcode
10-23-2003, 07:13 AM
So what part is not working? If it is not redirecting to the document then possibly the document is the problem and not the script.
pelegk1
10-23-2003, 07:16 AM
yes but where is the problem?