chris.schwalm@gmail.com wrote:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Please provide attribution of quoted material.
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
>
>> Care to elaborate on what really caused the problem?
> Truthfully, I am not exactly sure what caused/solved the problem. It
> was just one of those things that fixed itself while I was messing with
> other things.
OK :)
>> > Also I have modified the order of the callback function declaration.
>>
>> ACK, however that is no callback, it is an event handler.
>
> In this particular case, what is the difference between what I have
> done and a "real" callback function?
I understand callback as executable code (here: a Function object reference)
that is passed as a parameter to other code (here: as argument for another
function when it is called). An assigned event listener does not qualify
as such.
> What I was trying to do was create a function that gets called when the
> the "servlet" that I POST information to responds. Said another way: I
> want my "alertConnects" function to get called when I get a response
> from the "connections.send(...)".
Yes, but still not something I would call a callback.
> Did i do this incorrectly?
No, you did it right.
> Also, are there any reason that you can see as to why this javascript
> wont convert into a bookmarklet. Even if I slim it down and keep the
> characture count low, it still doesnt seem to work as a
^^^^^^^^^^^^^^^^^^^
> bookmarklet... only as a java script (but maybe that is another post in
^^^^^^^^^^^
> itself).
1. Java != JavaScript
2. <URL:http://jibbering.com/faq/#FAQ4_43>
3.
<URL:http://www.mozilla.org/projects/security/components/same-origin.html>
HTH
PointedEars
Received on Sat Dec 3 04:29:09 2005