Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
JSCRIPT error in IE7, IE6 related to character count?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tucson Debra  
View profile  
 More options Nov 20 2009, 8:53 pm
Newsgroups: microsoft.public.scripting.jscript
From: Tucson Debra <hampton.de...@gmail.com>
Date: Fri, 20 Nov 2009 12:53:48 -0800 (PST)
Local: Fri, Nov 20 2009 8:53 pm
Subject: JSCRIPT error in IE7, IE6 related to character count?
Hello,

I'm not sure if this is the correct group, so please let me know if I
should be posting elsewhere.

I have an application that is trying to run the script below, which
references fields in a SQL2005 database. The SQL database field is
8000 characters (varchar):

sCmd = "mripage.asp?PAGE=" + parmVal(sFunc, 1) + "&GROUP=" +
sLoadGroup + "&MODAL=Y" + sAddEscape(sParms)
  if (sParms.indexOf("MODELESS=Y")>=0) {
    window.open(sCmd, '_blank', "");
   }
  else {
    sRes = window.showModalDialog(sCmd,self,sFeatures) + ""
    sRes = extractReturn(sRes);
   }

  return sRes + "";
 }

When one of those fields exceeds 1804 characters (yep, I counted), in
IE6 I get the error "Object doesn't support this property or method".
When I debug using MS Visual Studio 2005, I am pointed to the line >
sRes = window.showModalDialog(sCmd,self,sFeatures) + ""

When I pull up the same page in IE7, I get a blank white box but no
error. In IE8, it works fine. However, if the character count is <=
1804 characters, it works fine in all versions.

I know there have been quite a few enhancements in IE8's support of
JScript, but would like to determine why the character count appears
to matter. I would have thought that if an object isn't supported, it
would not be supported regardless of the number of characters.

Any input/theories greatly appreciated.

Thanks,

Debra


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Williams  
View profile  
 More options Nov 21 2009, 10:57 pm
Newsgroups: microsoft.public.scripting.jscript
From: "Tim Williams" <timjwilli...@comcast.net>
Date: Sat, 21 Nov 2009 14:57:30 -0800
Local: Sat, Nov 21 2009 10:57 pm
Subject: Re: JSCRIPT error in IE7, IE6 related to character count?
Debra,

Not really a javascript issue.

There is (was?) a limit in IE to how much information you can pass in a URL.
As far as I can recall in IE6 it's somewhere just short of 2000 characters,
so 1804 may be it.

May have been increased significantly in IE8  - I see some folk suggesting
it's now 32k.

Tim

"Tucson Debra" <hampton.de...@gmail.com> wrote in message

news:03169211-4343-4cb3-bb53-61f89b73ba7e@k4g2000yqb.googlegroups.com...


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tucson Debra  
View profile  
 More options Nov 23 2009, 5:33 pm
Newsgroups: microsoft.public.scripting.jscript
From: Tucson Debra <hampton.de...@gmail.com>
Date: Mon, 23 Nov 2009 09:33:56 -0800 (PST)
Local: Mon, Nov 23 2009 5:33 pm
Subject: Re: JSCRIPT error in IE7, IE6 related to character count?
Hi Tim,

Thank you very much. I did look at the character limitations of the
browser versions, which is 2083 for versions IE6 and IE7. However, my
understanding is that limitation hasn't changed in IE8.

IE8 did introduce support for the data URI schema (as opposed to the
HTTP URI schema), which is 32K. I think that's where some of the
confusion may lie. The data URI schema wasn't supported at all prior
to IE8, though, so I'm not sure if it's relevant, since cutting down
the number of characters will resolve the issue in pre-IE8 versions.
If the problem is the data URI schema, then it shouldn't work at all
in IE6 & 7 regardless of the number of characters.

I'll try posting on the IE forums. Thank you again!

Debra

On Nov 21, 3:57 pm, "Tim Williams" <timjwilli...@comcast.net> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google