Displaying 20 results from an estimated 10000 matches similar to: "prototype's toQueryString() weird behavior in IE?"
2007 May 02
1
why is Hash#toQueryString including functions
Why function stored in a Hash are serialized by toQueryString. I mean
what''s the use-case for this? to eval them on server-side ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
2005 Oct 27
3
String.protoype.toQueryParams
Hi, I am trying to play with all the methods in the Array Object.
Just wanted to check with you guys if this is the correct explanation of toQueryParams().
If yes, then I''ll add it to the documentation as well.
Works for me (but I am not sure if it''s the correct way to use it).
/* String.prototype.toQueryParams takes a query string, i.e, string with
name value pairs
2006 Jun 14
0
weird toggle behavior on IE
Hi,
Just found out this weird bug in IE (or I probably should say IE bug that
needs workaround?)
This works in IE, FF
document.getElementsByClassName(''box'').each (
function(e) {new Effect.toggle(e, ''blind''); }
);
But this doesn''t work in IE
document.getElementsByClassName(''box'').each (
function(e) {new Effect.toggle(e,
2008 Jan 19
1
Set Return Type XML in Prototype
Please help i can''t return xml data using prototype.
If i use data from direct xml file then it works fine but when i use
ajax request with header content xml it''s not working
My code just work on IE but in FF it does not working. My code sample
are given below
If any one already done this kinds of job Please help me as soon as
possible.
var xmlDoc;
function Claulate()
{
var
2005 Dec 08
2
Prototype.js Hash Methods
Hi,
Has anyone seen any documentation on the Hash Object defined in the prototype library?
To be precise the following methods -
1. keys
2. values
3. toQueryString
4. inspect
5. Merge
I am trying to play around with them and have come up with the following examples -
var h = $H({name: "john doe", email: "john-Ch9RrZxMC0c@public.gmane.org", msg: "say hello to
2008 Apr 22
2
Prototype's cumulativeOffset() is not a function
Hi all,
I''m sure I''m missing something obvious. I add prototype.js and my
custom js file in the head:
<script src="prototype.js" type="text/javascript"></script>
<script src="my_js_file.js" type="text/javascript"></script>
my_js_file.js looks like this:
Event.observe(window, ''load'', loadTasks,
2007 Apr 13
2
Is JavaScript JSON Hijacking problems present/considered in Prototype's coming release?
I sort of let things loose on Prototype''s growth for awhile - yet, as
the article (found here: http://webreflection.blogspot.com/2007/04/are-130-byte-enought-to-solve.html)
came before me, the question arose: ''is the issue considered in
Prototype?''
I couldn''t find a bug regarding it: the one in German isn''t counted. )
So I roll it in here. Please
2006 Jun 16
3
onCreate not getting triggered.
I am trying to get a loader to display during ajax requests, but the
"onCreate" is not getting triggered. The onComplete does.
function loadComponent(section){
values = arguments[1]
pars = $H(values).toQueryString()
pars = "section="+section+"&"+pars
var url = ''/internal/ajax/requests.php'';
var ComponentLoader = new
2008 Jan 16
0
GET Using encodeURIComponent
In my site I use the GET method in Ajax.Request. The problem is that I
make an encodeURIComponent in my personal JavaScript and call other
personal method called "f_ajax" that implement the Ajax.Request. Then
happens 2 encodeURIComponent with my params. Why the GET method make
the encode? Could have an option in Ajax.Request to disable the
encodeURIComponent in prototype (toQueryPair and
2007 Aug 23
3
Character # do not allowed in new prototype's version
Hi.
I used prototype: version 1.5.0_rc1
To be able to use the last prototype window''s version, i had to change
to prototype: version 1.5.1_rc3
I use Ajax.Request, and in some params i have this character: #
With v1.5.0_rc1 i have no problems. i receive the params in php same
that i sended in javascript, but in this new version, when find this
character, it cuts the string and i
2007 Dec 06
11
Weird Prototype behavior
In this code:
<html>
<head>
<title>PT test</title>
<script type=''text/javascript'' src=''/js/prototype/1.6.0/
prototype.js''></script>
<script type=''text/javascript''>
//<![CDATA[
Event.observe(window, ''load'', function () {
alert($(''login_username''));
});
//]]>
2007 Apr 17
5
Problem with toQueryParams()
I''m sure this has been covered before, but here goes...
Anybody noticing some odd behavior with submitting forms through
Ajax.Request? I thought at first it was a problem with Form.serialize,
but was able to trace it back to line #975 (in prototype 1.5.1_rc2)
which calls "toQueryParams" on the parameters that are passed into the
new Ajax object if it is a string. This is the
2006 Feb 21
1
RE: [Prototype] onSuccess Event and, Ajax.Updater bug in IE
Joe,
After removing all occurrences of charset=utf-8 from
my headers I am
still getting the same bug in IE.
Currently, it''s Content-Type: text/html
Any other suggestion?
Nathan.
> Message: 2
> Date: Mon, 20 Feb 2006 09:13:57 -0500
> From: "Joe Hudson" <joe-x8g0hQFNjJhWk0Htik3J/w@public.gmane.org>
> Subject: RE: [Rails-spinoffs] [Prototype] onSuccess
Event
2007 Nov 20
0
Prototype error in IE for dom:loaded code
This is a wierd problem that I just encountered. Just to note what I
am running, I am using Asp.Net and I have prototype as an embedded
resource. (An embedded resource is just a way that Asp.Net can put
the javascript into a .dll and then you access it through a unique
url)
This embedded resource is loaded in the head element, and is the first
script loaded into the head element. Everything
2007 Sep 25
0
Prototype Element.down matching in IE and FF
I''ve run into an interesting problem with matching and Element.down.
I''ve put together a sample of the problem located at:
http://www.ic3dinc.com/form_sample.html
The sample uses Prototype 1.6.0_rc0 and I have had the exact same
result with 1.5.1.1.
This page has a hidden div (schedule_event_contents) that gets added
to each form by a javascript link using Insertion.Bottom.
2008 Mar 25
4
Prototype: toggle() not supported on TD in IE?
The following line causes trouble both with IE 6&7:
cels[i].toggle();
It tells me that this element does not support the property or method.
The element is a cell (TD) which I checked by outputting the tagName
and it works with FF, Opera and Safari.
The IE script debugger stops at this line but I didn''t find a single
posting on the net with a similar problem which is kind of strange.
2007 Dec 12
0
Question about IE's weird "Unknown Runtime Error" bug
Okay, so here is the back story. This works fine with Opera, FireFox,
and Safari, but breaks with IE. Whenever requesting a response from
an external page (regardless of framework), if that response has an
embedded form element (<form></form>) and the container for the AJAX
response is embedded inside a form element (for instance, any ASP.NET
page), you get the "Unknown Runtime
2008 Feb 16
5
ie-specific error in prototype try-catch block?
Hi,
I was wondering if anyone has any suggestions for debugging ie-
specific errors? I have been working on a porting a prototype
application that works fine in firefox to ie, and have run into
several problems. For the latest one, the error message is not very
informative. When trying to load the application, ie complains "Object
doesn''t support this property or method."
When
2005 Aug 03
2
Ajax in prototype.js
Can someone please explain to me what I need to do to create an Ajax
class using the prototype lib.
Thanks,
Jon Whitcraft
Web Application Developer
Online Services - Indianapolis Motor Speedway
(317) 492-8623
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050803/2f662bb3/attachment.html
2005 Jul 12
0
Re: flashing divs in IE with use of BlindUp andBlindDown
I agree.
-----Original Message-----
From: rails-spinoffs-bounces@lists.rubyonrails.org
[mailto:rails-spinoffs-bounces@lists.rubyonrails.org] On Behalf Of
Andrew Kaspick
Sent: Tuesday, July 12, 2005 9:40 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject: Re: [Rails-spinoffs] Re: flashing divs in IE with use of
BlindUp andBlindDown
Can this "fix" proposed by Marc be integrated into