If you need to garuntee that a variable,function or method exists i would
always wait until the dom is ready or in each function that gets called test
the function,variable or method exists else timeout untill it does
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
Hello,
I wrote the following HTML code:
span id=1
input type=text value=Some text /
/span
span id=2 style=position: absolute
input type=text value=Some text /
/span
And I would like to place span #2 on the same position as span #1. I
tried to run the following command:
Hi ,
I am getting a problem , i have added a js function on onchange event
of a drop-down box , which calls Ajax.Updater , now whenever i call
this function i get an error
element.DispatchEvent is not a function in error console . please
help
Waiting for prompt reply
Vaibhav
2009/9/2 Alex McAuley webmas...@thecarmarketplace.com:
Nice work guys... now i have the mamoth task of updating everything with the
new version!!!..
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: T.J. Crowder t...@crowdersoftware.com
To: Prototype
Dunno what any of that meant !! just seemed a complicated jumble of
words to me!
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: Richard Quadling rquadl...@googlemail.com
To: prototype-scriptaculous@googlegroups.com
Sent: Thursday, September 03, 2009 12:39
On Sep 3, 12:07 am, Hipnotik pork...@gmail.com wrote:
Hi
How to call some action if content of the div element has changed?
I'm talking about something like this:
$(my-div).observe(change, function(e) {
alert(hello);
});
Expecting behavior:
I have this
div id=my-divsome text/div
You could use prototype custom events. See example here:
http://jsbin.com/ayiku
But you will have to fire function manually after update or override
default Element.update function to do it for you.
Marko
On Sep 2, 7:30 pm, Hipnotik pork...@gmail.com wrote:
Thanks Walter!
I would like to
T.J.,
Thanks for the help, but I tried replacing the numbers with valid IDs
and the result was the same...
Tiago
On Sep 3, 5:09 am, T.J. Crowder t...@crowdersoftware.com wrote:
Hi,
This probably isn't the answer, but FWIW, those IDs are invalid. IDs
cannot start with a digit.[1]
It'd be
On Thursday 03 September 2009 06:51:19 kangax wrote:
On Sep 2, 2:23 pm, Mojito tokyot...@gmail.com wrote:
What's the Prototyped syntax equivalent of:
window.frames['iFrameID'].document.getElementById
('elementInsideIFrame');
Current version of Prototype doesn't really support
I had a similar issue with caching once with firefox.. i had to delete the
whole cache and it reverted the favicon back to the one i chose.
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: Walter Lee Davis wa...@wdstudio.com
To:
That's the odd thing. It was working, and now it's kinda working --
you see the favicon for a fraction of a second, then it disappears and
is replaced with the generic globe.
Walter
On Sep 3, 2009, at 11:34 AM, Alex McAuley wrote:
I had a similar issue with caching once with firefox.. i
Can I use Effect.toggle in an HTML list box? I want the toggle effect to
display when an item in the list box is clicked.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to
See this article:
http://proto-scripty.wikidot.com/prototype:how-to-load-scripts-dynamically
On Thu, Sep 3, 2009 at 9:25 AM, JoJo tokyot...@gmail.com wrote:
Instead of loading JS in the head, how do I do includes like
virtually all other languages? Isn't Scriptaculous loading Effects.js
and
^ great article!
Now I have another question. Here is my new workflow in an attempt to
execute files in the correct order across all browsers. It works in
IE8, but not in IE7. In IE7 I get an error saying object expected
on line 2 of main.js. This is not very descriptive; what does it
mean?
Sometimes IE moans about the lack of a semi colon on the end of some Json'd
code
For example
var foo ={bar:function(){alert('Hi');}}
fails in some IE's (cant remember which one) but
var foo ={bar:function(){alert('Hi');};
Works in every browser - i had to update some code to fix similar
In the onSuccess function of one ajax call I am trying to perform an
Ajax.Updater to get an fill in another portion of the screen. The
server side program is not getting called Using firebug it looks like
the call still thinks it is complete from teh previous call. I've only
been doing JavaScript
I added a semicolon to the end of my global wrapper var:
var MYAPP = {class1: null, class2: null};
But I still get the same order. I believe that since this is
executable code, IE doesn't care if it creates it AFTER I try to use
it.
On Sep 3, 12:56 pm, Alex McAuley
Sorry pulled this from a template /%libr%/ will actually get filled in
with the correct path to that program on the server
Ajax.Updater('menu',
'/%libr%//SYG938',
{method: 'post',
parameters:{USER: data.ASID,
@RobG
I'm not sure that DOMSubtreeModified works in the IE. I tried to use
it and I think it doesn't.
@Marko
That's the problem... I don't want to fire it manually.
But thanks guys for help.
--~--~-~--~~~---~--~~
You received this message because you are
On Sep 3, 11:42 am, Jim Higson j...@wikizzle.org wrote:
On Thursday 03 September 2009 16:29:33 Jim Higson wrote:
On Thursday 03 September 2009 06:51:19 kangax wrote:
On Sep 2, 2:23 pm, Mojito tokyot...@gmail.com wrote:
What's the Prototyped syntax equivalent of:
This may not be Prototype's fault after all. I made a very simple test
now. I compared the rendering of two pieces of HTML code separately:
(1)
span id=test
input type=text value=Some text /
/span
(2)
div id=test
input type=text value=Some text /
/div
I measured both inputs with a pixel ruler
21 matches
Mail list logo