I am writing an application using prototype.js and dialog.2.0.js
(http://roland.devarea.nl/dialog/#e6) the iframe effect. But I
encountered a problem when I try to fitting it into my application.
What I want to do is that when a user click Show Iframe , a dialog box will be shown. Thus, I
use th
Hi,
My guess is the problem lies in your code that calls exFetch (or at
least code elsewhere), since that quoted code not only doesn't call
the handler right away, it won't call it _at all_. This anonymous
function:
function (transport) {
window[callBack]
}
...doesn't call the handler. It
I created the following HTML file to test your function and get the
following errors:
1) The file input element returns only the file's name, so I don't
see how your function could load the file in.
2) Under Safari 3 and later, I get a "TypeError: Result of expression
'xmlDoc.load' [undefined]
Here is my function. It is a general purpose wrapper for various AJAX
call in my program. Since the callback could be any function, I'm
passing the callback function as a string and calling it via window
[callBack], which kinda of works except it's not waiting for the
actual AJAX call to complete
I'm sure some of you have seen the nice work that is being done on
protovis..
http://vis.stanford.edu/protovis/
I would like to implement a test of this graphing capability which
returns a chart in response to an ajax.updater call.
I have never quite understood how to get javascripts to run cor
Ah, gents, you're too fast for me.
Adding a MIME mapping to the web.xml file for *.properties files
fixed the problem for me. Yeah, TJ, you're right; we're probably off
topic, but I think it's courteous to include the answer, in case
someone else has the same problem I did.
Here's what I added
On Apr 13, 6:25 pm, mr_justin wrote:
> > This is a regression.
>
> OK, that's good to hear.
>
> > so `$A('one', 'two', 'three')`, as in your example, should
> > produce - ['o', 'n', 'e'].
>
> That doesn't seem right. In the past, it has always produced a 3-item
> array out of the arguments, not t
Or .htaccess -- any server that mimics the Apache config mechanism
might respect this and set the headers accordingly.
Walter
On Apr 14, 2009, at 9:27 AM, Nigel Peck wrote:
> You should add something like this to your Apache config:
>
> AddType text/plain .properties
--~--~-~--~
HI Friends !
I customized drag and drop with the script. I like it very much. But i
got a problem.
This works like this with me - I will drag and drop the contents from
left to right. I will have block of texts for each item to drag and
drop from left to right.
If i drop the content before drop
Hi all !
I wonder if there's a way to forward an event when its 'source
element' (target ?) is removed.
In my use, I have two inputs.
I'd like to DOM-remove one of them when it 'blurs'.
Till now, when I click elsewhere in the page, no problem.
Now I'd like to switch fields with "tab" or click b
MikeyLikesIt wrote:
> T.J.,
>
> There was no Content-Type header. I imagine our server doesn't know
> what to append for *.properties files. I'll have a look at the Tomcat
> docs and see if I can figure that out.
>
> Thanks for all the help!
It will no doubt default to text/html, which is why
hey,
thanks for your fast answer.
it's still not 100% satisfying, but I just built the onException
handler and wrote my own firebug output.
cheers,
dennis
On 14 Apr., 15:20, "T.J. Crowder" wrote:
> Hi,
>
> (Hit send too fast.) This article[1] from the unofficial wiki may be
> useful as well.
Hi Mikey,
> There was no Content-Type header. I imagine our server doesn't know
> what to append for *.properties files.
That makes sense.
> I'll have a look at the Tomcat
> docs and see if I can figure that out.
Slightly OT of me, but I might be able to point you in the right
direction if yo
Hi,
(Hit send too fast.) This article[1] from the unofficial wiki may be
useful as well.
[1] http://proto-scripty.wikidot.com/prototype:how-to-bulletproof-ajax-requests
-- T.J.
On Apr 14, 2:19 pm, "T.J. Crowder" wrote:
> Hi,
>
> Exceptions in the Ajax callbacks are caught by Prototype and ro
Hi,
Exceptions in the Ajax callbacks are caught by Prototype and routed to
your onException handler, if you have one. Details in the docs[1].
This is specific to the Ajax callbacks, not event handlers generally.
[1] http://prototypejs.org/api/ajax/options
HTH,
--
T.J. Crowder
tj / crowder soft
T.J.,
There was no Content-Type header. I imagine our server doesn't know
what to append for *.properties files. I'll have a look at the Tomcat
docs and see if I can figure that out.
Thanks for all the help!
On Apr 13, 10:22 pm, "T.J. Crowder" wrote:
> Hi Mikey,
>
> > In this case, I'm just
Hey everybody,
my problem is the following: i have a lot of javascript code that
should be executed after an ajax request:
sendRequest: function(url, method, [...]){
new Ajax.Request (url, {
method: method,
requestHeaders: {Accept:
17 matches
Mail list logo