Displaying 20 results from an estimated 300 matches similar to: "RE: Re: ajax - multiple updates on singlexmlhttprequest"
2005 Dec 29
2
Ajax.Request: onLoading executed after onComplete in IE
Hi,
i''m trying to use a visual indicator for my Ajax requests. It''s based on the
shopping cart demo at script.aculo.us and works great in Firefox, Konqueror
and Opera, but fails in IE6. For some reason (timing problems?) onComplete is
executed before onLoading, so the indicator is shown but not hidden when the
request has finished.
Oddly enough it works fine in the shopping
2006 Feb 02
8
this pointer in Event.observe function
Hello,
please consider the following code example. It applies the onclick handler to
all image tags, and through window.event it ensures that it works in IE too:
--------------------------------------------------
var imgs = $(''foo'').getElementsByTagName(''img'');
for(var i=0; i<imgs.length; i++) {
// Apply onclick handler
imgs[i].onclick=function() {
2006 Jan 20
5
Height problem after interrupting SlideDown/SlideUp effects
Hi,
i have a problem with the the SlideDown and SlideUp effects. Since a similiar
problem is also visible on the script.aculo.us homepage, i''m going to explain
it this way.
- Go to http://script.aculo.us/
- On the main site below "visual effects", click "Advanced options", the sub
panel will scroll down.
- Hit the close button, and while the panel is still
2005 Dec 21
5
ajax - multiple updates on single xmlhttprequest
Hello,
I was wondering whether anybody would share a working example of a multiple
html update on a single xmlhttprequest.
Thank you in advance for your help.
_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
2006 May 28
13
JSON not auto-evaluated
Hi,
please consider this stripped down example:
new Ajax.Request(''foo.php'', {
onSuccess: function(t, json) {
alert(json.myParam);
}
});
According to http://www.sergiopereira.com/articles/prototype.js.html, the
second param is supposed to be the evaluated json object IF the X-JSON header
is send in the response. I send the header in my script. However, the json
var
2010 Nov 05
4
subsets, %in%
Hi,
I have a question about %in% and subsettin data frames.
Say I need to keep ID 1,2,4,5, 10 from the data frame dat. I can do:
dat <- data.frame(ID = 1:10, var = 1:10)
someID <- c(1,2,4,5,10)
subset(dat, dat$ID %in% someID)
Is there a quick way to do the opposite, ie to do a subset that contains
all ID but someID? Something like %not in%, which would *remove* lines with
ID in
2013 Jun 20
3
Samba+LDAP: NT_STATUS_UNSUCCESSFUL because of primary group SID mismatch
Hi,
I'm trying to get my new samba server running for a few days now and I
start losing my mind over not figuring out what I'm doing wrong. Here's
my setup:
OpenLDAP 2.4.21 server with ~15 groups and >100 users, all having a unix
and a samba NT password stored in the LDAP as well as a User SID and
Primary Group SID assigned and stored in the LDAP, derived from the SID
of the LDAP
2006 Jul 24
0
HTML YAML Builder
Is anyone interested in a YAML Builder for HTML?
Some trivial YAML that could be converted to HTML:
html:
- head:
- title: My title
- body:
- p:
- {!id: someId, !class: class1 class2}
- Hello
- img: {!src: someurl.gif}
- hr:
- ul: [{!id: someId}, {li: hello}, {li: goodbye}]
- ul:
- {!style: "height: 30px"}
- li: [{!id: first}, First]
-
2007 Jan 31
1
help please!
Hi,
I''ll appreciate insight on this one... it''s causing me some pain on my
production env.
<%= link_to "something",
:controller => "somecontroller",
:action => ''someaction'',
:id => someid,
:favorite => is_a_favorite %>
I added a boolean :favorite to the URL arguments.
THis has always worked well under my dev
2006 May 25
7
Hide content before page load
Hi,
i''ve been experimentating with dynamicCSS.js [1] to hide content only if
JavaScript is enabled. It works pretty well and fires before onload to avoid
the flash of visible content. Now i''m wondering if there is a Prototype way
of doing this.
[1] http://www.bobbyvandersluis.com/articles/dynamicCSS.php
My main problem is that Prototype functions like Element.toggle() do
2008 Oct 15
2
Adding an id to form_tag
Hi all,
When using form_for it is easy to add an id to the form using :html =>
{:id => ''someid''}
However, how would one accomplish the same when using the form_tag ?
Thank you in advance,
Schalk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post
2017 Jun 15
1
(no subject)
Hi every one I am working on shiny app using bnlearn for Bayesian networks and using r studio I get a fatal error and when I use R GUI I get this error
** caught segfault ***
address 0xfffffffc0fcd6248, cause 'memory not mapped' Traceback: 1:
.Call("mappred", node = node, fitted = fitted, data = data, n =
as.integer(n), from = from, prob = prob, debug = debug) 2:
2014 May 15
1
Call file problem, DelayedRetry/retrying spite MaxRetries: 0
I am using Realtime extensions as well, in case that would matter.
Following problem arises from time to time, a call will successfully
terminate:
[May 14 14:31:41] VERBOSE[3274] pbx_realtime.c: -- Executing
[t at project_init:1] Hangup("SIP/peer-2-00002f7e", "")
[May 14 14:31:41] VERBOSE[3274] pbx.c: == Spawn extension (project_init,
t, 1) exited non-zero on
2015 May 01
2
Kvm + libvirt + virt-manager
Hi list,
I have updated C7 to 7.1 and get some issue (I don't know if problems
depend from upgrade).
My first problem is on virt-manager that crash after some time. From system
messages I get that virt-manager is crashed with signal sigsegv and this
problem is related to python (python get sigsegv). Anyone get similar
behaviour after upgrade?
Another problem, I can't say if it showed
2006 Feb 09
3
Draggables and Droppable performance (tips)
Hi all. I have some performance tips to share. I had been having
problems with the overall performance of the drag/drop objects. This is
due largely to the fact that my project really pushes the limits
(potentially thousands of draggables and hundreds of droppables in the
document at a time, although that is the extreme case).
Something I discovered is that the performance of dragging goes WAY
2011 Apr 16
11
added new cool matcher into my framework WatirSplash - #in
Hello!
I''ve just added a new cool matcher #in into my framework WatirSplash
and thought that this could be integrated into RSpec directly actually
if there''s any interest.
WatirSplash uses Watir (or Watir-like) frameworks for testing web
pages via browser. If you''re not familiar with it then here is a short
example how you had to test ajax-heavy application before:
2018 Jan 14
2
Access to Windows 2016 server works with IP but not with netbios name
Just for reference, on a working Samba 4.x server in an AD domain I have the following entries
Idmap config *:backend = tdb
Idmap config *:range = 2000-2999
Idmap config MYDOMAIN:backend = ad
Idmap config MYDOMAIN:schema_mode = rfc2307
Idmap config *:range = 1000-1999
I use active directory users and groups to explicitly set the uid and gid numbers (this was to keep everything happy
2005 Dec 17
17
problems with quotes and escaping
First of all I''d like to say thanks for all the great work everyone has put
into scriptaculous,
I''m having a lot of fun playing with the framework, and easily moving into
Web 2.0 territory.
I''ve just hit a snag on my project though.
So here''s my code:
...
var newEvent=
"<div
2006 Jun 07
6
What if $$() for?
In the prototype.js library, what doe the $$ function do, and how do you
use it
--Will Merrell
2006 Apr 30
1
Draggable - how start action on start dragging and end action on droppping
Hi all. I have got situation that I made element draggable - and
when element is dragged I want to start some action (e.g. shown
AJAX indicator, and change one of CSS class in dragging element).
What is the best way to achieve this? I search source code of the
Draggable and I saw that there is 2 method: Draggable.initDrag
and Draggable.endDrag so it looks like in initDrag method i
should