I have a page that calls Ajax.Updater to load external content (on the
same server) into a DIV located on that same page... pretty standard
stuff. Everything works fine when I call Ajax.Updater once. But if I
call it twice on the same page (for a second DIV), I get the error:
Cannot read property
Hi again Doug,
But, my question is, is there a way I can do some type of alert() and
have it print out what scope it is executing in?
I don't know of a reliable way to do that, no.
But if you're using Firefox, it looks like the latest Firebug[1] now
displays the scope chain on the watch
Hi,
I'm not seeing a problem. You said...
Everything works fine when I call Ajax.Updater once. But if I
call it twice on the same page (for a second DIV), I get the error:
...and your code fragment was a dom:loaded handler with just a single
div, so I did a quick page using a dom:loaded
Hi Robin,
can you show us what you have modified in scriptaculous, because at
least, extending the class should not be impossible.
--
david
On 11 fév, 23:47, watchout w4tch...@gmail.com wrote:
Hi,
I've been stuck at this for 2 full days now and am getting fairly
annoyed by the fact I'm not
Hi, Atif,
is it possible to have the code, because it could be a problem in
Safari.
Safari have some hidden bug, it could be that.
--
david
On 12 fév, 10:58, Atif atif.siddiq...@gmail.com wrote:
Hi,
I am using prototype and scriptaculous in my application. Normally all
the functionalities
Hi David,
I've tried to extend the class using the methods shown on these two
websites:
http://techno-weenie.net/2006/1/30/extending_autocompleter
http://tetlaw.id.au/view/blog/adding-a-local-cache-to-ajaxautocompleter/
This is what I tried, but doesn't seem to work:
I usually respond with a JSON object that at least provides some debug
info like:
{msg:'panel_X removed from col1'}
{msg:'panel_X inserted in col2, position Y'}
or
{msg:'panel_X moved to position Y'}
On the client I pass the debug string to a logging function that I use
to output all my
Got it. Thanks David.
On Feb 9, 3:55 am, david david.brill...@gmail.com wrote:
Hi Offspring2009,
The problem is in the function moveItem, because you just do
draggable.parentNode.removeChild(draggable);
droparea.appendChild(draggable);
And you did not take care of relative
I'm having trouble with Scriptaculous' builder.js not loading in IE.
My site works fine in Safari, Firefox, and Opera, but in IE builder.js
is getting hung up and causing the site not to display. Take a look...
www.photographyavenue.com
If it's any help - this just started happening, it was
The problem is that you are using defer in your script include tags, which
in IE makes the order they load an indeterminate thing. So what's happening
is scriptaculous is trying to load before Prototype, which causes the error
to be thrown when scriptaculous does its check for Prototype...
Remove
BTW... very nice looking site there :)
On Thu, Feb 12, 2009 at 1:39 PM, Ryan Gahl ryan.g...@gmail.com wrote:
The problem is that you are using defer in your script include tags,
which in IE makes the order they load an indeterminate thing. So what's
happening is scriptaculous is trying to
IE is returning an error when I click cancel on the confirmation
message. You can view the source here:
http://radiantcube.com/unload.html
The happy path:
1) fill out a proper url in the text box
2) click go
3) page returns a confirmation message asking if you're sure you want
to leave
4) click
Thank you very much for the help, as well as the compliment! :-p
--~--~-~--~~~---~--~~
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
On Feb 10, 8:29 pm, Lars Schwarz lars.schw...@gmail.com wrote:
well, it's like fixing IE6 bugs. i mostly double-code functions like
form-checks that are
done pre-posting in javascript, to be checked again on server side
again for the case
javascript is turned off.
The reason to check on
On Feb 11, 11:21 am, doug douglass_da...@earthlink.net wrote:
I have read about Javascript and scope and I still don't really
understand it completely, particularly when it comes to Ajax.Updater.
I don't really understand, for example why, if there is a variable
window.myvar, some
15 matches
Mail list logo