Hi,
I've never had this problem with prototype before. I'm querying a
twisted python web service that I wrote with a simple GET request,
returning json, but for some reason the responseText always seems to
be .
function make_request() {
debug(in make_request with url
Hi group
I tried to store a list of Class and fetch those class definition to
create new instance in the following way:
myclasses = {
A: Class.create({...}),
B: Class.create({...}
...
};
...
for (var i = 0; i myclasses.length; ++i) {
var cls = myclasses[i];
var obj = new cls(...);
}
Not sure if this is a bug report, feature request, help request, or
even just a complaint about the state of the world :)
Using Prototype 1.7 rc2, I have been exploring event delegation with
the new Element#on functionality, using the css selector filter. My
initial tests with click (and
I found the problem. It's not caused by class array actually.
The following code demonstrate what I was trying to do:
var A = Class.create(...);
var B = Class.create(...);
Object.extend(B, {
A_ext: Class.create(A, {...}),
A_list: {
A1: Class.create(B.A_ext, {...}),
A2:
On 26/05/10 T.J. Crowder said:
To allow this, you'd want your server to respond with these headers:
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET
Access-Control-Allow-Headers: x-prototype-version,x-requested-with
So just to see if this worked, I added support for an