JS problems on IE 
March 1st, 2007, 08:15 PM
| | | Re: JS problems on IE
Maybe because you aren't generating <HTMLtags in the content you send
to the top.right frame?
*** Sent via Developersdex http://www.developersdex.com *** | 
March 1st, 2007, 08:25 PM
| | | Re: JS problems on IE
Oh, I think I know why ...
-- change this:
<a href="arrex1.cpp" onclick="process(1,'a',5);">
-- to this:
<a href="javascript :process(1,'a',5);">
*** Sent via Developersdex http://www.developersdex.com *** | 
March 1st, 2007, 08:55 PM
| | | Re: JS problems on IE
töff 93722 said the following on 3/1/2007 4:11 PM: Quote: |
Oh, I think I know why ...
| Don't think too hard, you might be wrong again. Quote:
-- change this:
<a href="arrex1.cpp" onclick="process(1,'a',5);">
>
-- to this:
<a href="javascript:process(1,'a',5);">
| That is a dumb way to attempt to fix any problem. The effect is the
same, it calls a function.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/ | 
March 1st, 2007, 10:05 PM
| | | Re: JS problems on IE
Scuse me, I thought getting rid of the call to the .CPP file might help.
Please forgive me. I look forward to your own solution to the guy's
original question.
*** Sent via Developersdex http://www.developersdex.com *** | 
March 2nd, 2007, 12:35 AM
| | | Re: JS problems on IE
töff said the following on 3/1/2007 5:57 PM: Quote: |
Scuse me, I thought getting rid of the call to the .CPP file might help.
| What are you babbling about? If you had quoted what you were replying to
it would be easier to follow. Sure thing.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/ | 
March 2nd, 2007, 12:55 AM
| | | Re: JS problems on IE
I don't care if you are the FAQ editor. You're a jerk. You've flamed me
twice and not even tried to help the guy who asked the question. You've
got nothing better to do, I guess. What a life.
*** Sent via Developersdex http://www.developersdex.com *** | 
March 2nd, 2007, 01:15 AM
| | | Re: JS problems on IE
töff said the following on 3/1/2007 8:44 PM: Quote: |
I don't care if you are the FAQ editor.
| And I don't care if you are an idiot. Me being an FAQ Editor is
irrelevant, your idiocy is relevant. I will add that to the list of names I have been called. You are gonna
have to try harder than that though. I did? Wow. If you think that was a flame you should see a real one. Quote: |
and not even tried to help the guy who asked the question.
| Sure I did. I told him, indirectly, that your advice was of no use. Quote: |
You've got nothing better to do, I guess. What a life.
| Actually, I do, I just choose to do this every now and then just for the
amusement.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/ | 
March 2nd, 2007, 01:25 AM
| | | Re: JS problems on IE cgurwitz@gmail.com said the following on 3/1/2007 12:30 PM: IE isn't issuing a document.open before you document.write to it. Adding
a top.right.document.write() to the beginning of the function keeps IE
from hanging forever:
function process(exno,arrayname,arraydim)
{
top.right.document.open();
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/ | 
March 2nd, 2007, 04:15 AM
| | | Re: JS problems on IE
On Mar 2, 12:11 pm, Randy Webb <HikksNotAtH...@aol.comwrote: Quote:
cgurw...@gmail.com said the following on 3/1/2007 12:30 PM:
>>
IE isn't issuing a document.open before you document.write to it. Adding
a top.right.document.write() to the beginning of the function keeps IE
from hanging forever:
| Weird - isn't a call to document.open() *supposed* to be made
automatically when document.write() is called?
A better strategy might be to remove the use of document.write
completely.
--
Rob | 
March 2nd, 2007, 04:55 AM
| | | Re: JS problems on IE
RobG said the following on 3/2/2007 12:05 AM: Quote:
On Mar 2, 12:11 pm, Randy Webb <HikksNotAtH...@aol.comwrote: Quote:
>cgurw...@gmail.com said the following on 3/1/2007 12:30 PM:
>>>IE isn't issuing a document.open before you document.write to it. Adding
>a top.right.document.write() to the beginning of the function keeps IE
>from hanging forever:
| >
Weird - isn't a call to document.open() *supposed* to be made
automatically when document.write() is called?
| That is my understanding. But adding the call to document.open solves
the freeze issue which points at the lack of an explicit document.open
as the culprit. Quote:
A better strategy might be to remove the use of document.write
completely.
| Absolutely.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/ | 
March 5th, 2007, 03:45 PM
| | | Re: JS problems on IE
Inserting document.open() does not solve the problem.
Any other ideas??
Thanks!
On Mar 2, 12:45 am, Randy Webb <HikksNotAtH...@aol.comwrote: Quote:
RobG said the following on 3/2/2007 12:05 AM:
> Quote:
On Mar 2, 12:11 pm, Randy Webb <HikksNotAtH...@aol.comwrote: Quote: |
cgurw...@gmail.com said the following on 3/1/2007 12:30 PM:
| | > Quote: Quote:
>I wrote someJSthat works fine under Firefox, but causesIEto hang.
>Can anyone give me some tips as to what the problem is inIE?
>>http://www.sci.brooklyn.cuny.edu/~gu...practice/index....
>IEisn't issuing a document.open before you document.write to it. Adding
a top.right.document.write() to the beginning of the function keepsIE
from hanging forever:
| | > Quote:
Weird - isn't a call to document.open() *supposed* to be made
automatically when document.write() is called?
| >
That is my understanding. But adding the call to document.open solves
the freeze issue which points at the lack of an explicit document.open
as the culprit.
> Quote:
A better strategy might be to remove the use of document.write
completely.
| >
Absolutely.
>
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptToolbox.com/bestpractices/
| | 
March 5th, 2007, 04:45 PM
| | | Re: JS problems on IE cgurwitz@gmail.com said the following on 3/5/2007 11:31 AM: Quote: |
Inserting document.open() does not solve the problem.
| It solved it for me locally. If it is not solving it for you then it is
something in your setup causing it. Yes, don't top-post.
Answer:It destroys the order of the conversation
Question: Why?
Answer: Top-Posting.
Question: Whats the most annoying thing on Usenet?
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/ | 
March 8th, 2007, 05:45 PM
| | | Re: JS problems on IE
On Mar 5, 12:34 pm, Randy Webb <HikksNotAtH...@aol.comwrote: Quote:
cgurw...@gmail.com said the following on 3/5/2007 11:31 AM:
> Quote: |
Inserting document.open() does not solve the problem.
| >
It solved it for me locally. If it is not solving it for you then it is
something in your setup causing it.
>
| At this point it does work with the document.open(), but only on my
local machine.
When I access it off the server, it still makes IE hang. I did turn
off the pop-up blocker. What else could be causing this behavior? Quote:
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptToolbox.com/bestpractices/
| | | Thread Tools | Search this Thread | | | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | | | What is Bytes?
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 220,989 network members.
|