Hi,
As said in the original post: It is the $() functions itsself which
fails. $() calls Element.extent, and IE6 complains about Element to
not support the method request.
You've said Element.extent in two different posts now. Just to be
absolutely sure we're not overlooking something
Hi,
Your code is working fine for me with IE6 (and I'm making sure that
the script comes from a different domain; I even had it created by PHP
using exactly your code, and did nothing to make sure that the PHP
result was being served with the correct content-type, although I'd
recommend doing
Hi,
Safari's JavaScript engine handles switch just fine as far as I know,
and there's nothing special about the switch being inside the function
you're using for the dom:loaded handler. Since you haven't quoted your
actual code, I don't think folks will be able to help you figure it
out, but my
Hi,
From IE, it works just fine
(probably because it's using ActiveX rather than XMLHttpRequest)
Not *rather than* -- it's using XMLHttpRequest regardless. On older
versions of IE, the way you get one is via ActiveX, but that's
irrelevant (and only older versions); it's an XMLHttpRequest
Thanks for correcting me on ActiveX... I didn't know that internally,
an XMLHttpRequest object gets used in the end.
In response to disccomp, I'm not sure how I would use a relative URL.
Could you give an example? I've tried using a value such as /MyApp/
MyServlet, but this doens't work at all
I have had similar issues before in my applications. I have always
assumes that they were caching issues. With the method as 'post' and
adding the current date and time in the parameters field (or query
string), I've been able to get past this issue.
This is to make sure the url being called is
The event object has a property called type.
...
if(event.type == 'click'){
//click stuff
}
...
On Mar 14, 5:40 pm, patrick patrick99...@gmail.com wrote:
Hi,
I am using low pro's event behaviors, and currently am doing something
like this:
'#blah:click': function() {
// click stuff
Is there any sleep or wait function in Prototype?
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
Thanks for the suggestion Scott.
I've tried to add the current timestamp (via the javascript expression
new Date().getTime() ) to the parameters and the query string (in
all the combinations such as first adding it only to parameters, then
only to query string, and then to both) and
Hi iam new to prototype .My question is that iam having a php file
helper.php which is having a single functions :
function content_body() which returns value according to action
variable comming with $_GET request. Function is given below
Hi,
i am using Prototype on one of my Rails projects and also using google
maps. What i needed to use now very much is the tilesloaded event of
the google maps api. But somehow prototype breaks the tilesloaded
event so that it is not fired. Just to be sure i created a new Rails
project without
I had similiar problems once with Prototype and IE6. My workaround was
to not trust $() but use the Element.foo methods instead (which
worked quite well, however, I needed to patch some of those to use
Element.bar internally). I'll try to come up with some source code for
this.
Christoph
On Mar
Hi,
On Mar 15, 4:41 pm, albert kao albertk...@gmail.com wrote:
Is there any sleep or wait function in Prototype?
There's Function#delay[1] and Function#defer[2]. JavaScript doesn't
have any support for yielding in the middle of a function, but you can
easily break up a function into different
Hi,
Write your PHP page to *only* output what you want to receive. So for
instance:
?php
echo only what you want here
?
Anything you output from PHP will be received by the client-side stuff
(this is a Good Thing[tm]), but that just means you need to make sure
your PHP is returning only what
Since the sort order is a client preference, I would imagine you could
stash the client's preferred order in a cookie and use that for return
visits. Otherwise, each visitor could override the previous visitor's
preference, and you're no further ahead.
Take a look at the LivePipe Cookie
Hey folks,
maybe you can help me out with this.
I got a simple function that I use to load sub-categories when clicking
on a parent category:
function toggleSubCats(cat, id)
{
/* Vars and stuff */
catObj = $(cat);
var send=null;
/* Now figure out the status of the element and
Are you sure your servlet is responding with the proper headers. Try
creating a small self-contained minimum test case which fails. Using a
relative URL ensures that it is from the same origin as the loading
page. -Mark
--
You received this message because you are subscribed to the Google Groups
17 matches
Mail list logo