I think one of the easiest ways to handle tooltips is just let the
native browser deal with it, using the title attribute with imgs and
anchor elements will pop a 100 word tip on what the action will take.
So just create the tool with a title attribute and then you're good to
go.
---
http://posi
Hey Diego,
I'd suggest learning CSS, in particular CSS Selectors. Second
read up on prototype, you were a dollar sign away from almost having
it.
In your case, the name is too inconsistent, you could have almost
gotten away with $$("input[name~=opt") but alas there is no space
after it so
You must further define your idea of "masked input"
http://www.google.com/search?q=define%3A+masked+input&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
On Jul 23, 3:58 pm, Celso wrote:
> Anyone know a masked input in prototype?
>
> Thanks,
> Celso.
--~--~-~--~--
totype & script.aculo.us"
> > Sent: Wednesday, July 29, 2009 10:22 PM
> > Subject: [Proto-Scripty] Re: Masked Input in Prototype
>
> > something like this:http://digitalbush.com/projects/masked-input-plugin
>
> > On 24 jul, 06:48, Richard Quadling wrote:
>
Regardless of the JS framework. A closure is necessary for attaching
class methods to a particular instance and preserve the instance
reference via the "this" keyword.
http://www.javascriptkit.com/javatutors/closures.shtml
I thought Function.bind was pretty clean myself, but I guess you've
got
Class:"+self.fu+self.baz);
};
document.observe("click",f);
}
});
On Aug 4, 3:35 am, Cédric wrote:
> On 3 août, 22:38, Matt Foster wrote:
>
> > Regardless of the JS framework. A closure is necessary for attaching
> > cla
In an effort to keep the code clean I'd delegate this functionality to
a dedicated method other than the constructor.
On Aug 4, 2:16 pm, Matt Foster wrote:
> If you really wanted to avoid bind you could just use closures within
> the initialize method
>
> var Sub4 = Cl
Depending on when you wanted to pass the additional argument you could
just attach it to the argument chain on bind
this.changeContent = this.changeContent.bindAsEventListener(this,
extraArgument);
Since we're already looking at that line of code, be careful,
reassigning the function to a bound
I've never actually used this component but in researching the docs,
could you use the callback for afterUpdateElement and then
programatically execute the form's submit method?
http://wiki.github.com/madrobby/scriptaculous/ajax-autocompleter
--
http://positionabsolute.net
On Aug 7, 10:11 am,
var keys = $H(obj).keys();
http://prototypejs.org/api/hash/keys
--
http://positionabsolute.net
On Aug 10, 10:46 am, "Alex McAuley"
wrote:
> You can prolly sort the order if you wanted it in some kind of order but its
> not needed in my opinion!
>
> Alex Mcauleyhttp://www.thevacancymarket.com
You could just have the server return code that instantiates the
object to begin with. You aren't limited to JSON its just convienent
because the structure is simple and there are plenty of processors
that understand it. But you can evaluate any JS code just as is.
--
http://positionabsolute.
> I am trying to code an OS X-style menu bar with prototype
Are you talking about the dock?
http://positionabsolute.net/blog/2007/08/prototype-fisheye.php
On Jul 13, 4:05 pm, Mario Colombo wrote:
> Hi everybody,
>
> I am trying to code an OS X-style menu bar with prototype and
> scriptaculous
http://prototypejs.org/api/function/delay
var arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
var delayConstant = 1;
arr.each(function(value, index){
(function(val){
$("myInput").value = val;
}).delay(delayConstant * index, val
The down arrow. Perhaps the preceding key up, key left and key right
options could have given you a clue...
On Aug 25, 8:07 am, Ooypunk wrote:
> OK, then I'll go with that. Thanks!
>
> Only thing left for me to complain is that I still don't know what
> names like KEY_DOWN are for, or how th
Good luck with this, let us know if it works out.
Quick glance at your code I can see an obvious error...
> var newElement = element.clone(true); //clone the node
Element doesn't have a clone method. The native DOM element does have
a cloneNode method though.
--
http://positionabso
var eventName = pair.key, responders =
> pair.value;
> responders.each( function(r) {
> Element.observe(dstdecend[i],
> eventName, r.handler);
> });
> });
>
> > Ajax.Updater('menu',
try "new Ajax.Updater..."
--
http://positionabsolute.net
On Sep 3, 4:39 pm, Bob wrote:
> 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',
> >
I agree with Jim,
If I remove an element from the DOM for whatever reason, perhaps its a
control widget that only gets inserted for inline editing or
something. I don't want to re-apply listeners and proprietary data
each time I reinsert the control back into the document.
And this leads to ano
Rick, that sounds like you delay the entire page load, or i should say
the display of the page until the DOM has loaded?
What I believe Zion is requesting is show the entire page as fast as
possible, for what can be rendered quickly. Then as a seperate
request begin loading these massive images
Hey Everyone,
I've finished a project that handles the problems of browser history
when implementing ajax solutions. It's built to integrate with
prototype perfectly and borrows a lot of the same concepts. The idea
is an event driven system where all XHRs go through a single 'service'
object
>
> --
> mona
>
> On Mon, Sep 21, 2009 at 7:00 PM, Matt Foster wrote:
>
> > Hey Everyone,
>
> > I've finished a project that handles the problems of browser history
> > when implementing ajax solutions. It's built to integrate with
> > prot
I'm going to give the disclaimer that i can't make much sense out of
the example you've posted. You're referencing 'comment-form' and
'comment_parent_id' which are nowhere to be found in the actual HTML.
The facts that I am going to assume are...
A) That you're inserting a form element inside of
I'd just use an 'iterator' class to do this...
var EvenNumber = Class.create(
{
initialize : function(num){
this.num = (num % 2 == 1) ? num - 1 : num;
},
succ : function(){
return new EvenNumbe
u wanted every 5th number ...
>
> Better to go with my/TJ's loop
>
> Alex Mcauleyhttp://www.thevacancymarket.com
>
> - Original Message -
> From: "Matt Foster"
> To: "Prototype & script.aculo.us"
> Sent: Friday, September 25, 2009 5:5
better things to do than
> > write some amazing class to achieve what can be done in 30 seconds -
> > evidently you do not so good luck with that.
>
> > Alex Mcauleyhttp://www.thevacancymarket.com
>
> > - Original Message -
> > From: "Matt Foster"
; this.end;
> return value <= this.end;
> }
>
> So if you create a NumberRange of even numbers from 2 to 6 and ask it
> if 3 is included, unless you override that behavior in your
> NumberRange class, `include` will return true.
>
> -- T.J.
>
> On Sep 28, 9:20
The removed element?
Just because an element has been detached from the visible DOM doesn't
mean that the reference can be maintained elsewhere. It would be no
edge case to detach and re-attach a particular element, so to think
that an element should be trashed just because it has no parent node
; would be picked up by garbage collection. is this not true?
>
> So, what you're saying, to answer my question, is that I don't have to worry
> about using Event#stopObserving?
>
> On Tue, Oct 6, 2009 at 10:22 AM, Matt Foster wrote:
>
> > The removed element?
>
http://wiki.github.com/madrobby/scriptaculous/ajax-autocompleter
afterUpdateElement function...
you receive an input object and some element that was representing the
field. At this point you could execute form.submit..
--
http://positionabsolute.net
On Oct 7, 11:19 am, Yogesh wrote:
> He
http://prototypejs.org
On Oct 6, 7:45 am, WLQ wrote:
> Sounds plausible, I would like to have more information on that
> please.
>
> On 5 Okt., 08:14, "Alex McAuley"
> wrote:
>
> > Why not give your list a class name thats specific to the list and select
> > with $$
> > Alex Mcauleyhttp://www.t
So just as a recap, you're looking to simulate the ctrl + mouse wheel
event such that the native processing for zoom magnification applies?
> This is a highly useful feature, I would love to add some "widgets"
> type icons (magnifier glasses with a + and -) on my site that allows
> people to resc
ee his point.
>
> Ctrl + mouse wheel scales the page not the text - it scales images,
> elements, text and everything
>
> LOL
>
> Alex Mcauleyhttp://www.thevacancymarket.com
>
> - Original Message -
> From: "Matt Foster"
> To: "Prototype &a
> var nextElements=$(element).descendants();// returns everythign that
This would return all children of the element, not siblings.
On Oct 10, 4:26 am, "Alex McAuley"
wrote:
> If you use "Event" with element you can find the element that was clicked
>
> $$('.blah').each(function(e) {
>
$('class_id').value=li.id;
> document.forms['searchcustomerform'].submit(); } Thanks,
> Yogesh
> Matt Foster
> wrote:http://wiki.github.com/madrobby/scriptaculous/ajax-autocompleterafterUpdateElement
> function... you receive an input obje
Oct 12, 3:04 pm, "Alex McAuley"
wrote:
> Hence the note on it "This might not work as its divs."
>
> Alex Mcauley
>
> http://www.thevacancymarket.com
>
> - Original Message -
> From: "Matt Foster"
> To: "Prototype &
gt; Yogesh
> Yogesh Agashe wrote:Thanks for pointing out this error Matt. I should have
> noticed this.
> But even after defining the function earlier, form submit doesn't work :(
> Sorry.
> Sincerely,
> Yogesh
> Matt Foster wrote:You've defined your function after you refere
The "has a" relationship is the only way to go for sure.
You could create an ElementProxy class that inherits all the Element
methods but just keeps a reference to the actual DOM reference
internally. All of the Element.Methods are parameterized so I'm sure
there'd be an easy way to delegate the
rguments))); };
}
});
--
http://positionabsolute.net
On Oct 16, 3:01 pm, Matt Foster wrote:
> The "has a" relationship is the only way to go for sure.
>
> You could create an ElementProxy class that inherits all the Element
> methods but just keeps a reference to the actual DOM refe
n could make it work completely (see
> it here:http://pastie.org/660553).
>
> What do you guys think about this change?
>
> Eric
>
> On Oct 17, 12:11 am, Matt Foster wrote:
>
> > Quick and dirty, im sure there are errors but conceptually this would
> >
What is ES5?
On Oct 23, 1:31 pm, Tobie Langel wrote:
> We removed it because it conflicted with an identically named method
> specified in ES5.
>
> If you really need to use it, I strongly sugest you find another name
> for it.
>
> Best,
>
> Tobie
--~--~-~--~~~---~-
This one was a SOB and as always, IE is at fault...
Here is what I found on researching this...
now this is for IE only of course..
var cell = new Element("td");
This is all well and good w/o any attributes, the Element constructor
delegates the attributes object, the second parameter to
Elemen
Hey Everyone,
I've put the finishing touches on a JS based gadget to handle
site translation. It uses Prototype for class structure and element
collection etc and the Google Translate API to handle the actual text
translations. It handles all of the requests async style and never
reload
ing wrote:
> 2009/11/3 Matt Foster :
>
>
>
>
>
> > Hey Everyone,
>
> > I've put the finishing touches on a JS based gadget to handle
> > site translation. It uses Prototype for class structure and element
> > collection etc and the Google T
You could use a fisheye...
http://positionabsolute.net/blog/2007/08/prototype-fisheye.php
On Nov 3, 12:55 pm, "ph...@ryangibbons.net"
wrote:
> Richard,
>
> Thanks for the response. Question though, I am not quit sure what you
> mean. I would like the image the enlarge upon mouse over and g
Hey Kiran,
Function.defer is simply delegating the functions execution to
Function.delay which in the end delegates it to a wrapper of
window.setTimeout.
By using defer it enforces the timeout to be a value of 0.01 which is
just enough to hiccup the browser's procedural processing.
If your appl
ow.onload = function()...
By executing your code in those methods, you can be sure that DOM
elements are loaded and ready for manipulation via Javascript.
--
http://positionabsolute.net
On Nov 5, 3:22 pm, Matt Foster wrote:
> Hey Kiran,
>
> Function.defer is simply delegati
> > I'd like to use enumeration functions to select from a sorted list
> > where I know that if the select function has passed and then starts
> > failing (returns false)
This isn't a prime situation for Enumerable but certainly nothing it
can't handle.
> Never mind - I just discovered $break in
I'd recommend taking a look at my Ajax Service Queue approach, such
that all requests go through the service object, and in the subclass
for the queue's case won't send the next request until its predecessor
has returned. It needs to be updated for 1.6 but the idea is on the
wall for you to look a
Ext.js has a ton of UI stuff prebaked
http://extjs.com
--
http://positionabsolute.net
On Dec 18, 4:40 am, Frédéric wrote:
> Hi,
>
> I'm wondering: does it exist a complete graphical toolkit in javascript?
> Something like Qt or Gtk, which allows to build complex GUI?
>
> I found several nice l
I'd just put it in a variable.
parameters : '?method=saveData&data='+data.toJSON();
--
http://positionabsolute.net
On Dec 17, 6:48 pm, "T.J. Crowder" wrote:
> Hi,
>
> Ajax.Updater (and the rest) don't claim to post object graphs to the
> server, and in fact they don't. They only pass name-val
You could use a closure to ensure you're dealing with the right
element.
$$('.my_table td').each(function(cell){
cell.observe('mouseover', listener.curry(cell));
});
function listener(cell, evt){
if(evt.element() != cell)
return false;
}
Are you trying to have a clean w
Hey Everyone,
I've completed work on a new Prototype plugin to handle massive
datasets elegantly and avoid the dreaded Stop Script dialog. It uses
a chunking algorithm to split up the dataset into small pieces, and
then loop over those using chained setTimeout executions to allow a
break i
Feel free to post questions or comments here as I disabled them on the
actual article.
I think this is a valuable plugin for Prototype, it certainly isn't a
common use case but there are instances where data gets too big to
handle in one shot.
On Jan 11, 9:51 am, Matt Foster wrote:
This is probably too obvious to be right but if you're simply looking
for all of the paragraph tags at that level could you simply go up to
the parent and select down from there?
On Feb 22, 12:57 pm, Paul Kim wrote:
> Hi Alex, thanks for the tip. I've modified the function based on your tip
>
tag = tag || node.tagName.toLowerCase();
> >>> if (node.tagName.toLowerCase() === tag)
> >>> results.push(node)
> >>> else
> >>>
You can just add parameters to the bind call and they will show up in
execution.
$(id).observe('mousedown', this.myFunction.bind(this, otherParam);
Then I believe it shows up after the event.
function myFunction(event, param){...
but in your case, simply binding to "this" will allow you to refe
I did something similar in that I just patched Ajax.Request with some
extra functionality to allow timeouts, I never fussed with it further
than fundamental tests but it certainly worked. Take a peak and maybe
you can learn how to write something to meet your own needs
http://positionabsolute.net
just store the reference to the listener and re-attach it to the
element after the user has successfully purchased more comment tokens
or whatnot.
var myListener = function(){};
$("button").stopObserving();
//.. user buys tokens...
$("button").observe('click', myListener);
--
http://positiona
"Thanks for that but like most things in the prototype documentation,
it
lacks the type of clarity that I can understand. "
Nice way to get help... "Your docs suck so just spoon feed me the
answer"
The answer to your initial approach is an issue with basic javascript
string behavior and was naile
yeah, try $("myContainer").scrollTop
On Nov 7, 5:10 pm, Shane McCarron wrote:
> I have an element that has overflow:auto. The contents of the element are
> updated from time to time via ajax calls. I want to ensure that when this
> happens, if the user has scrolled down into the content, thei
You can filter out the bogus values of the original or create a new
object and only set the valid values.
var data = $H(form.serialize(true));
var transportData = $H();
data.each(function(pair, itr) {
if(pair[1] != "")
transportData.set(pair[0], pair[1]);
});
--
http://positionabsolute.
Its because he's referencing the object through the options array,
Proto never gets to sink its method into the object because of this
traversal, while the other browsers support native extensions it works
fine.
$($("Birth_Day").options[0]).remove();
On Oct 20, 8:55 am, delishus <[EMAIL PROTEC
You have to bind your setInterval callback just like you bind your
onSuccess callback...
initialize: function() {
setInterval(this.checkForMessages.bind(this), 2);
},
On Oct 20, 1:10 am, Travis <[EMAIL PROTECTED]> wrote:
> I am trying to implement the following:
>
> var Messaging
You could do this a variety of ways, using prototypes $$ method you
could quickly select all form tags. Alternatively native JS dom has a
quick reference to such a collection, via document.forms.
As a side note, you'll want to point the onload to a reference of your
function, not the result of t
Try using scaleMode : { originalHeight : "someVal", originalWidth :
"someVal" };
I think the scaling is getting mixed up because of the box model
behavior differences in the browsers and the accommodation for the
borders.
On Oct 23, 1:48 pm, Michael Hartford <[EMAIL PROTECTED]>
wrote:
> I have
onDrop : handleDrop.bind(this);
..
handleDrop : function(e){
this.setDragItem(...);
}
http://prototypejs.org/api/function/bind
On Oct 27, 2:24 pm, Kris S <[EMAIL PROTECTED]> wrote:
> When creating behavior classes using lowpro, how can i reference the
> parent class while in a child clas
Are you holding a reference to an object inside the iframe? Such as
contentDocument/contentWindow. These references would be bunk once
the iframe refreshes.
On Oct 29, 4:31 am, Thomas A <[EMAIL PROTECTED]> wrote:
> Our application is built on a static interface with HTML controls and
> an Ifr
Very strange, not sure if i understand completely. So there is an
internal iFrame object that is getting references from its containing
document object. When the iframe reloads it no longer has these
references? Wouldn't a reload of the iframe force it to retrieve fresh
references as everything i
Effect.Slide needs an immediate child to perform the clipping
necessary for the effect.
On Oct 31, 9:56 am, "Paul Kim" <[EMAIL PROTECTED]> wrote:
> Thanks for the solution David. Do you have any idea why this worked for
> Opera when the element wasn't encapsulated inside a element? -
> Paul
What are the drawbacks of requestings the JS file via Ajax.Request and
stuffing the responseText inside the innerHTML property of a generated
script element?
Does it have the global scope restriction like eval?
Does it cause a processing bottle neck for the client?
Is it supported by all browsers
A little lost on what the question is, but I took an assumption and
ran with it. The idea of stacking these methods was intriguing.
Check out this code, its pretty useless really but an interesting
example of object ownership and function delegation.
var MyClass = function(){
this.name =
A little lost on what the question is, but I took an assumption and
ran with it. The idea of stacking these methods was intriguing.
Check out this code, its pretty useless really but an interesting
example of object ownership and function delegation.
var MyClass = function(){
this.name =
$("main_content").fade({ duration : 1.6, afterFinish : function(fx){
fx.element.update("");
fx.element.appear({ duration : 1.0 });
}
On Nov 12, 10:32 am, Walter Lee Davis <[EMAIL PROTECTED]> wrote:
> Use a queue, or create a new hidden image over top of the old and
> fade that one up. (T
$("main_content").fade({ duration : 1.6, afterFinish : function(fx){
fx.element.update("");
fx.element.appear({ duration : 1.0 });
});
On Nov 12, 9:19 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi, currently i have this statement:
>
> $('main_content').fade({duration: 1.5}).update
Well if you're request method is GET and you're looking in POST, there
could be some issues, make sure you're using and expecting the same
method type on the client and the server.
On Nov 18, 7:56 am, "James Hoddinott" <[EMAIL PROTECTED]> wrote:
> I'm stumped again :( I have the following HTML w
Instead of trying to keep the last reference to the XHR sent, just
enforce a singleton style approach, such that the user can't request a
refresh of data when a request is already pending.
function fireAjax(){
if(Ajax.activeRequestCount == 0)
new Ajax.Request(...);
}
--~--~--
> new parent.Ajax.Updater('target', './refresh.php5, { method:
You're sending a string, try using a direct object reference...
var ele = window.document.getElementById('target');
ele.innerHTML = "Loading...";
new parent.Ajax.Updater(ele, './refresh.php5, ...
On Nov 17, 4:37 pm, ronman <[EM
hat I tried
> assigning a var and then passing that. Seems it should work but it didn't.
>
> On Tue, Nov 18, 2008 at 10:11 AM, Matt Foster <[EMAIL PROTECTED]>wrote:
>
>
>
> > > new parent.Ajax.Updater('target', './refresh.php5, { method:
>
>
> No, its all POST methods being used here.
> >> new
> >> Ajax.Updater('respanel','data/fetchrespanel.php',{method:'get'});
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" grou
Tricky stuff, focus doesn't bubble so you can't watch it up top and
flag the target like you could with click...
I'd collect all elements that support the focus event, watch for it
and manage the reference of lastFocused to determine what the user is
currently focused on.
On Nov 19, 7:25 am, J
What is going wrong with your current approach, should be no reason
you can't generate a new TR element and replaceChild on the tbody
object...
On Nov 20, 11:46 am, "jason maina" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is it possible to replace a whole row with new data/controls without
> interfe
var textFromTD = $("search").select("tr td:first-child").pluck
("innerHTML");
On Nov 21, 12:32 pm, Jay <[EMAIL PROTECTED]> wrote:
> another idea, you might try selectors -
>
> a) if you can put a class on the td cells you are interested in, call
> the class cell1 for instance , then reference
Hmm, I've double checked this idea, I have no problems with replacing
a TR element.
> element.parentNode.replaceChild(content, element) => element is null
I'd have to make the assumption that your trId value doesn't correlate
to an ID of any element in the document.
On Nov 21, 12:06 pm, "jas
To elaborate on Kangax's idea, a DOM element is a dynamic object,
being that you can add custom properties which can be referenced for
further processing...
var ele = new Element("div");
ele.eventHandles = { click : handleClick, mouseover :
handleMouseOver };
ele.observe("click", ele.eventHandles
You could try different variations of the declaration, maybe it just
doesn't like that format. Also note that you're not setting a unit
for your value, this could be considered an invalid declaration?
you could try...
margin:0px;
margin-left:auto;
margin-right:auto;
It should be able to accep
Oh wow...
Hate to be the bearer of bad news Ryan, but not really
You can attach an event listener to an area object, which you could
attempt to harness a fade, but that would require you to make a lot of
edits to the image maps. Secondly, the entire page is one image, if
you take this appro
> > What do I make wrong
Many things...
> >
> > var a = new Element('div', {id: 'my_div'});
> > $('my_div').style.witdh = '200px';
> >
> >
-You create an element, but never attach it to the DOM.
-Even if you did attach it, the DOM wouldn't be ready at that point in
execution, you've got your
Why would you want to avoid position:absolute for an object which
needs to sit on top of everything in the center of the document?
On Nov 22, 6:10 am, Dave L <[EMAIL PROTECTED]> wrote:
> I have been struggling to get the DOM popup kit, which uses prototype,
> to display popups and modal dialog
A lot of JS is being executed, listening to scroll is like listening
to mousemove, the event fires often. Scrolling up and down your page
might fire off more than 100 scroll events, in combination with this,
you're executing an effect each time the event is fired, furthermore
the Effect executio
You're sample data isn't really a range though is it? Why would you
want to use an instance of ObjectRange over a regular Array?
--
http://positionabsolute.net
On Nov 24, 12:14 pm, "T.J. Crowder" <[EMAIL PROTECTED]> wrote:
> > P.S : Oh and by the way, I can't post from my mail software. My ma
No idea if this works or not, but a quick search on Google has
produced an almost identical question and answer to your issue.
http://chumby.net/2008/10/27/scriptaculous-sortablecreate-onupdate-event-isnt-firing/
--
http://positionabsolute.net
On Nov 22, 4:53 pm, patrick <[EMAIL PROTECTED]> w
You could create your slider with a range of 0 - array.length -1.
Then use that value as an index to your actual data array in the
onSlide/onChange events
On Nov 26, 3:10 am, Nicolas Cavigneaux <[EMAIL PROTECTED]> wrote:
> Le 25 nov. 08 à 22:14, Matt Foster a écrit :
>
>
>
I'd say your DOM traversals might add quite a bit of weight to your
filter. Why select the LI element if you're really looking at its
child A element's innerHTML property ?
Select those nodes and skip the execution of down, should speed things
up quite a bit.
Also if you're using a text input co
Try
Event.observe(tre, "click", this.RowClick.bindAsEventListener(this));
On Dec 1, 9:15 am, Mauricio Díaz <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have an iFrame that contains a page with my scripts, and I want to
> show a popup dialog in the parent window. I can insert my popup (a div
> e
By using the keyup event you can avoid the conditions to check for
change, if the user has pressed and released a key on the input then
the value has changed. Also it is very wise to add the timeout, your
users will thank you.
document.observe("dom:loaded", function() {
var list = $$("#listA
This is why I like using an "Ajax Service" it creates a central
instance in which all requests are generated and processed through
http://positionabsolute.net/blog/2007/07/javascript-service.php
On Nov 13, 5:45 am, matte <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Yes it is more straight forward but
Try ending the statement with a semicolon, it is probably hitting the
syntax error there.
var stuff = eval('(function(){ ... });');
On Dec 4, 1:59 pm, yoshi <[EMAIL PROTECTED]> wrote:
> i think u guys are assuming firefox, in IE eval without the function
> wrapped in () does not cause syntax
Hey Matthew,
I ran into that issue as well, where you're not really
expecting the onSuccess event as its timed out, inherently an error
has occurred, as the server has taken longer than allowed.
Take a look at my approach to a resolution to this problem in my
solution to implementing tim
Hey Everyone,
Granted this is off the topic of prototype development
directly, it will lead into it in the end. I am writing an ajax
library that i'd like to A) stand alone B) work with prototype and C)
work with Extjs. I'd like to put the code in Google Code and have it
available for ch
You could also listen to those events on the input, and stop their
propagation so that the document never hears of them.
On Dec 15, 7:06 am, Stucture_Ulf
wrote:
> Great, I got it! Many thanks.
>
> On Dec 15, 12:35 am, "Gabriel Gilini" wrote:
>
> > Use the Event.element method to find out who
1 - 100 of 208 matches
Mail list logo