473,287 Members | 1,463 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

PC IE6 & Prototype AJAX

Hi folks.

I built an ajax.updater reply in a website on a Mac, and she works
fine. It's a simple reply, the html supplied is correct, and I also
supply the target DIV as well.

Just wondering why a PC won't show anything.

Cheers

Oct 29 '06 #1
7 1783

BeeRich wrote:
Hi folks.

I built an ajax.updater reply in a website on a Mac, and she works
fine. It's a simple reply, the html supplied is correct, and I also
supply the target DIV as well.

Just wondering why a PC won't show anything.
Just wondering why you aren't showing anything - it's not useful to
comment on what we can't see. Maybe guesses are all you want. :-)

--
Rob

Oct 29 '06 #2
BeeRich said the following on 10/28/2006 8:17 PM:
Hi folks.

I built an ajax.updater reply in a website on a Mac, and she works
fine. It's a simple reply, the html supplied is correct, and I also
supply the target DIV as well.

Just wondering why a PC won't show anything.
Why does my stereo hit a harder bass note listening to Marvin Gaye than
it does when listening to the Beastie Boys? You can't diagnose what you
can't see.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Oct 29 '06 #3
I thought there might be a common experience to this. Anyway, this is
what I'm returning:

<p>0307: Piano Solo - Bach - Age 13 & Under ($37)</p>

My function:

function classLookup(myClassNumber) {
ajax = new Ajax.Updater(
'classDisplay', // target div
'includes/backComm.lasso?choice=getClassName&cn=' + myClassNumber, //
URL
{ // options
method:'post'
});
}

Nothing really to see. I'm using a doctype header on my backComm file,
and I've been told maybe the two doctypes are confusing IE.



RobG wrote:
BeeRich wrote:
Hi folks.

I built an ajax.updater reply in a website on a Mac, and she works
fine. It's a simple reply, the html supplied is correct, and I also
supply the target DIV as well.

Just wondering why a PC won't show anything.

Just wondering why you aren't showing anything - it's not useful to
comment on what we can't see. Maybe guesses are all you want. :-)

--
Rob
Oct 29 '06 #4

BeeRich wrote:
I thought there might be a common experience to this. Anyway, this is
what I'm returning:
Please don't top post to this news group, reply below trimmed quotes.

<p>0307: Piano Solo - Bach - Age 13 & Under ($37)</p>

My function:

function classLookup(myClassNumber) {
ajax = new Ajax.Updater(
'classDisplay', // target div
'includes/backComm.lasso?choice=getClassName&cn=' + myClassNumber, //
URL
{ // options
method:'post'
});
}
Please use 2 or 4 spaces for indents, not tabs, and manually wrap code
at about 70 chararcters to prevent auto-wrapping.

Nothing really to see. I'm using a doctype header on my backComm file,
and I've been told maybe the two doctypes are confusing IE.
I guess you are saying that the page has one doctype and the response
another - I can't see why that would be an issue unless you are using
innerHTML - after all, the basis of AJAX is that the response will be
XML (though most of the time it probably isn't, it is more likely JSON,
HTML or plain text). Browsers generally ignore the doctype in the file
and rely on the MIME type provided by the server - I don't know if that
is an issue with XMLHttpRequest. If you are returning HTML with a
doctype, I can't see why it would be different from the main page.
Anyone using AJAX should be using HTML 4.01 strict.

You seem to be using Prototype.js, it is not supported here. The
general advice is to post to a Prototype news group or other forum.

The prototype news group seems to be poorly supported, so you might
like to try elsewhere:

<URL: http://groups.google.com.au/group/Prototypejs?lnk=li >
--
Rob

Oct 29 '06 #5

Randy Webb wrote:
BeeRich said the following on 10/28/2006 8:17 PM:
Hi folks.

I built an ajax.updater reply in a website on a Mac, and she works
fine. It's a simple reply, the html supplied is correct, and I also
supply the target DIV as well.

Just wondering why a PC won't show anything.

Why does my stereo hit a harder bass note listening to Marvin Gaye than
it does when listening to the Beastie Boys? You can't diagnose what you
can't see.
Nothing really to diagnose. It's a typical ajax.updater function.
Others have told me it has to do with IE6, as it doesn't like the
doctype for some reason.

So, the posting here was about IE6, and not the ajax.updater. I
thought someone might have run into this before.

In any case, Prototype isn't supported here. I hope I posted in the
right font, location, etc.

Nov 2 '06 #6
BeeRich said the following on 11/2/2006 8:56 AM:
Randy Webb wrote:
>BeeRich said the following on 10/28/2006 8:17 PM:
>>Hi folks.

I built an ajax.updater reply in a website on a Mac, and she works
fine. It's a simple reply, the html supplied is correct, and I also
supply the target DIV as well.

Just wondering why a PC won't show anything.
Why does my stereo hit a harder bass note listening to Marvin Gaye than
it does when listening to the Beastie Boys? You can't diagnose what you
can't see.

Nothing really to diagnose.
Hmmm, nothing to diagnose means no problem. Since there isn't a problem,
then there shouldn't be a post asking how to solve a non-problem.
It's a typical ajax.updater function.
Whatever that is.
Others have told me it has to do with IE6, as it doesn't like the
doctype for some reason.
Hmmm, should I guess what the doctype is? Oh wait, there is nothing to
diagnose.
So, the posting here was about IE6, and not the ajax.updater. I
thought someone might have run into this before.
What issue is it? Oh, the one that doesn't need to be diagnosed, I
understand <eyeroll>
In any case, Prototype isn't supported here.
You finally got something right. Try asking the person/group who wrote
Prototype why it doesn't work.
I hope I posted in the right font, location, etc.
Probably not but we won't mention it.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Nov 2 '06 #7
BeeRich wrote:
<snip>
In any case, Prototype isn't supported here. I hope I posted
in the right font, location, etc.
It is not reasonable to say "Prototype isn't supported here" (beyond
saying that nobody here is likely to be recommending its use). This
group doesn't support, or not support, anything beyond javascript in
general, and the majority of questions asked are in relation to code
that is either unique or broadly unknown to the people who are being
asked to answer the questions asked. Yet questions do get answered.

If people asking questions in relation to Prototype.js would present
the code they were using, including (in isolation) the parts of
Prototype.js they were employing (that is, the whole context of the
question, and nothing else) then their questions would likely receive
the same consideration as any other.

The problem as it stands seems to be that people asking questions about
Prototype.js are expecting everyone here to be familiar with its code,
despite the fact that it is a poorly conceived, convoluted library that
has never been cross-browsers and is now not even ECMAScript compatible
(that is, few will want to study Prototype.js as most could write there
own code and get a far superior result). And the individuals using
Prototype.js are not themselves capable of reducing it to just the
pertinent code in order to ask there questions in a form that can be
answered (partly a consequence of its being overly convoluted).

Richard.

Nov 3 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: k.mitz | last post by:
Hi, I have a PHP application that allows users to generate a .pdf report of their database content. Normally, I've had to refresh a page to call the script to generate the report, so there's a...
2
by: chuck | last post by:
Hi, Firstly, I don't know if this is just and isolated thing with the prototype.js library or is a problem in general with ajax calls with a '+' character, so i am posting it here. I am...
10
by: Steve | last post by:
I need to build a very dynamic client and would be interested in knowing the pros and cons of using JSF and Ajax to accomplish this. Thanks. Steve
1
by: vachacz | last post by:
hi i'm struggling with integration of a js class aimed for ajax handling with fireing actions from the class. here's my code sample: function AjaxLibLoad(httpActionParam, targetLayerParam){...
5
by: dougwig | last post by:
I'm trying to handle the scenario where a user's session times out and and their ajax request triggers a redirection by the webserver (302 error?). I'm using Prototype 1.4 and the my works great...
17
by: Steve-O | last post by:
The following code works great in FireFox, Opera, Netscape, Safari, and Gecko, but NOT IE. Why? I tried using 'native' js with setInterval and setTimeout, but I get the same result. My IE...
5
by: Gerry Vandermaesen | last post by:
Hi, Does anyone have a freely available JavaScript JSON stringifier. So far my search has been in vain, the one offered on http://www.json.org/json.js does not seem to work for me.
23
by: Dautkhanov | last post by:
Hello ! Does anybody have cutted version of prototype.js with the AJAX functionality only? I am a new in prototype.js topic, so I think this task should be done by other developers. Maybe...
3
by: jacobstr | last post by:
I've noticed Object.extend used in a few different ways and I'm having trouble distinguishing why certain usages apply to a given situation. On line 804 Ajax.Base is defined as follows: ...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.