I have two calls run asyncronously
Two - is an example - they may be N-calls :)
I'd recommend avoiding that unless the async calls are to *different*
servers, and if you do two at once, certainly never do more than two
at once. Run just a single async request at a time, two if you
absolutely
ain't working means nothing.
What happens?
What do you expect to happen?
Also...
I've never heard of onforminput (I'm not familiar with HTML5) but I
think it's premature to be using HTML5 facilities unless you know
which browsers your users will be using. In any case, it is at least
being
var watcher = {
watching: false,
start: function() {
watching = true;
Ajax.Responders.register({
onComplete: function() {
if ( watching Ajax.activeRequestCount == 0 ) {
finalize();
}
}
});
stop: function() {
watching =
You can use Form.Observer to watch for changes to any values in a form. This
assumes you have assigned the name attribute to each of your form fields.
Without that, the getValue calls will return nothing. See
http://www.prototypejs.org/api/timedObserver/form-observer for more details.
Forgot to unregister the responder. See revised watcher:
var watcher = {
start: function() {
Ajax.Responders.register(responder);
},
stop: function() {
Ajax.Responders.unregister(responder);
},
responder: {
onComplete: function() {
if (
Hello,
I use Prototype 1.6 in conjunction with Smarty 3. I habe also a MySql
DB with several columns that contains chars like or others that can
be encoded with the php function: htmlentities
I do not want to do a htmlentities before DB insert. The DB should
contain no entitites just real text!
Thanks!
This is what I need
On 22 ноя, 12:15, T.J. Crowder t...@crowdersoftware.com wrote:
I have two calls run asyncronously
Two - is an example - they may be N-calls :)
I'd recommend avoiding that unless the async calls are to *different*
servers, and if you do two at once, certainly
This is not sutable because inparallel maybe run othes async calls
which I dont need wait to complete
On 22 ноя, 18:04, Brian Marquis br...@quotepro.com wrote:
Forgot to unregister the responder. See revised watcher:
var watcher = {
start: function() {
Thank you Mr Crowder, that was quite informative.
Still I'm a little unsure how to proceed. If I got this right, it is
common sense now that extending the DOM is the wrong thing to do. One
of the main reasons is the possibility of name-conflicts. So I thought
I might extend Objects with a
Why is the Element::store() not listed in the documentation???
http://www.prototypejs.org/api/element .
Thanks for pointing out this feature. I've been stupidly creating my
own data structures to further describe DOM elements. Now I don't have
to do that.
On Nov 22, 12:31 pm, Luke
I suggest that you insert a doctype and then run it through a
validator until you get no errors or warning and then analyse what you
are left with if you still have the problem.
On 15 November 2010 19:26, Scott counterstre...@gmail.com wrote:
So I've been working on a project the involves a
11 matches
Mail list logo