|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||||||
|
||||||||
|
Works in Mozilla, not in IE
Can someone tell me why this works in Mozilla and not in IE? I'm new to javascript and have been unable to figure this one out.
This is a snippet from the page that calls the javascript function php Code:
Here is the actual function php Code:
Any help would be greatly appreciated. I know that your time is important and I thank you in advance for spending some of it on my problem. |
|
#2
|
|||
|
|||
|
RE: Works in Mozilla, not in IE
Hello:
When you say "it doesn't work in IE," what is the behavior you are seeing? Is there a script error? If so, what are the details of the error? -Jeff |
|
#3
|
|||
|
|||
|
RE: Works in Mozilla, not in IE
I get an error saying that the 'url' element of my function is an invalid argument. I'm not sure why Mozilla doesn't see it that way.
|
|
#4
|
|||
|
|||
|
RE: Works in Mozilla, not in IE
the space in the window name 'Closed Call' is the problem. remove it and it will work.
|
|
#5
|
|||
|
|||
|
RE: Works in Mozilla, not in IE
How simple! You would think that someone would tell you that out there on the great, big WWW.
Thank you VERY much Ivo. I really appreciate it. |
|
#6
|
|||
|
|||
|
RE: RE: Works in Mozilla, not in IE
Quote:
at least someone did ;-) i think you made this error, because you were not aware, that the second parameter of window.open is the name of the window (and not the title). and for names the same rules as for variables apply (no space, only numbers and letters, start with a letter.) probably you would never try: var a var='oops'; its quite dangerous to use mozilla for development. it became a very error-tolerant browser. thats a pity, because mozillas error-messages are much better than internetexplorers ;-) |
|
#7
|
|||
|
|||
|
RE: Works in Mozilla, not in IE
That sounds like a good idea. I usually try Mozilla first (since that's what I use) and then try the page in IE. This is the first time I've had a problem, but it's also the first time that I've tried using Javascript. You are correct in your statement that I was placing the window title in the second parameter. Thanks again for catching my problem and pointing it out. I really appreciate it.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Works in Mozilla, not in IE |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|