GETed pages would happily reload without any warning?
--
Jorge Godoy [EMAIL PROTECTED]
that the system handled back a white pixel and started processing what we
wanted. :-)
But I didn't know that it was fetched when the node was created. This is very
interesting to know (specially to time operations that take a long while in
the browser).
--
Jorge Godoy [EMAIL PROTECTED
/DOM.html you're mistaken in your
syntax.
Take a look at http://mochikit.com/doc/html/MochiKit/DOM.html#fn-getelement
and at the example right in the beginning of the page, where there's an option
showing how to use getElement.
--
Jorge Godoy [EMAIL PROTECTED
, info2_data) {
// process info1_data and info2_data
};
Is there a better way for doing that? If I can keep both function independent
it will be much better to me.
TIA,
--
Jorge Godoy [EMAIL PROTECTED
Jorge Godoy [EMAIL PROTECTED] writes:
I'm needing to fetch two different types of information for a form, from two
different places and both will be combined to generate a HTML table. What is
With a hint from Arnar I found
http://mochikit.com/doc/html/MochiKit/Async.html and the Deferred
that? I want the result of the first two callbacks on the
third one.
Thanks for any help,
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send
:
result1 = doAjax1()
result2 = doAjax2()
func3(result1, result1)
I just need the results when the third callback (func3 here) is called.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed
innerHTML works or not... :-(
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from
really dunno... I'd prefer receiving everything as the browser
sees it instead of receiving a pre-processed string that wasn't pre-processed
by me...
Anyway, I believe that your application shouldn't care for line breaks and
other control codes.
--
Jorge Godoy [EMAIL PROTECTED
)... :-)
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email
solution.
I haven't checked the docs or googled after something more efficient before
answering you, though...
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group
options from available
options.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from
Hi!
Is there something that I can use to sort the options inside a select
accordingly to what is shown to the user? I'm getting a Python dict
(unordered) in JSON format and I'd like to sort this to make options easier
to find when browsing the list...
Thanks,
--
Jorge Godoy [EMAIL
to appendChildNodes
without much problem...
But if there was an alternative option it would be interesting to know it :-)
Thanks Arnar.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
that might lead me to repeated values if I looked the
other way around (I'd have to pass more information to make this 'thing'
unique and I would like to avoid several hidden informations...).
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received
something related to attaching an onkey? event to every
element but the submit button...
TIA,
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group
false will not prevent event bubbling in IE.
Yes, thanks. I'll use that. This was a nice reminder as well. :-)
Be seeing you,
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
this as a starting point, though.
Thanks.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from
Scott Chapman [EMAIL PROTECTED] writes:
//myPoints.addCallbacks(showPointDetails,pointsFetchFailed);
myPoints.addCallback(showPointDetails, something);
myPoints.addErrback(pointsFetchFailed);
And you'll get 'something' as the first value in myPoints.
--
Jorge Godoy [EMAIL
' of 9 units and so on.
One thing that would be interesting is having the x axis somewhere in the
middle of the chart and have bars growing either up or down starting from it.
(This is how we usually plot things by hand and also how spreadsheets plots
them.)
--
Jorge Godoy [EMAIL PROTECTED
attention,
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email
and running Windows XP
(there's one with an updated version of IE running Windows 98, but only
because of other software, I believe it would run XP just fine.).
Thanks for any comments on that.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received
cell that needs to be recalculated.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe
manageable.
Thanks,
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from
through is going to be
undefined... that can't be correct as written here.
It was the test code. Real code comes with a value from the database.
A full example that people could play with would help.
I'll write one and post on the ML again.
--
Jorge Godoy [EMAIL PROTECTED
Jorge Godoy [EMAIL PROTECTED] writes:
I'll write one and post on the ML again.
Here it is. You'll just have to fix the path to the packed version of
MochiKit. This is just multiplying each numeric value by 3.
I've just made a few simplifications from my real case (where my for loop
iterates
Beau Hartshorne [EMAIL PROTECTED] writes:
I don't think you can attach anything to list posts. Could you please submit a
trac ticket with an attachment?
It should have been attached inline after my signature. But yes. It is here:
http://trac.mochikit.org/ticket/152
--
Jorge Godoy
Jorge Godoy [EMAIL PROTECTED] writes:
Beau Hartshorne [EMAIL PROTECTED] writes:
I don't think you can attach anything to list posts. Could you please submit
a
trac ticket with an attachment?
It should have been attached inline after my signature. But yes. It is here:
http
Bob Ippolito [EMAIL PROTECTED] writes:
Seems the attachment is missing...
It appears on Google Groups and is attached to ticket #152 as well. I dunno
why it appears on the web but isn't sent to users here...
--
Jorge Godoy [EMAIL PROTECTED
Jorge Godoy [EMAIL PROTECTED] writes:
Beau Hartshorne [EMAIL PROTECTED] writes:
I don't think you can attach anything to list posts. Could you please submit
a
trac ticket with an attachment?
It should have been attached inline after my signature. But yes. It is here:
http
sending emails.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send
file generated by php, and want to now call
it inline with javascript to refresh update content, periodically.
Just take a look at the JavaScript above... It replaces some placeholders
with dynamic contents from the database.
--
Jorge Godoy [EMAIL PROTECTED
Hi!
Does anybody know a way to upload files automatically with an onblur event?
I'd like something like GMail's attachments that uploads the file while you're
writing the message -- in my case, it would upload an image while the user
fills in a form.
TIA,
--
Jorge Godoy [EMAIL
Jorge Godoy [EMAIL PROTECTED] writes:
Hi!
Does anybody know a way to upload files automatically with an onblur event?
I'd like something like GMail's attachments that uploads the file while you're
writing the message -- in my case, it would upload an image while the user
fills in a form
will be
used a lot and there might be some hundreds of entries for each user logged in
the system.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post
is happy.
/me *shivers* seeing that...
I'll add that as one more reason *not* to use PHP... If I found some mean to
insert code on a form would it run it? Why does it demands that my webpage
has the language structure? What if I was going to reuse that form somewhere
else?
--
Jorge Godoy
, for example) in the same form).
I tend to the a) approach... Is it the best one? Is there another option
that is better to solve this kind of problem?
Thanks for any input on that subject,
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received
seeing how much each customer pays for your service...
I will be using LAMP.
As in Linux, Apache, PostgreSQL and Python? ;-) Nice choice. :-)
That may be what I need to do.
s/may be/is/ ;-)
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You
Hi,
I'm trying to change the text of some labels and it works perfectly if I run
it either locally or in an HTTP connection. Is there some kind of restriction
to change labels in a secure connection?
Thanks in advance,
--
Jorge Godoy [EMAIL PROTECTED
Bob Ippolito [EMAIL PROTECTED] writes:
On 10/19/06, Jorge Godoy [EMAIL PROTECTED] wrote:
I'm trying to change the text of some labels and it works perfectly if I run
it either locally or in an HTTP connection. Is there some kind of
restriction
to change labels in a secure connection
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
Any suggestions?
Yes. Show us code.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send
Thomas Hervé [EMAIL PROTECTED] writes:
Jorge Godoy wrote:
It was a valid URL and the code was perfectly fine. It worked when using
only
HTTP (development server) but not on HTTPS (production server). I changed
the
HTML element to an input field and the code ran perfectly
jvanasco [EMAIL PROTECTED] writes:
i need to serialize a storable object
What's a storable object? The only storable that I remember of was in
Perl... I can't find anything about it in JavaScript...
--
Jorge Godoy [EMAIL PROTECTED
Bob Ippolito [EMAIL PROTECTED] writes:
The reason there is no XPath support is that XPath isn't supported
cross-browser. Your code looks fine, but I can't take it because it
doesn't work in all of the supported browsers.
Can't we have some kind of 'contrib'?
--
Jorge Godoy [EMAIL
it ;-)
Be seeing you,
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group
that this gets included in MochiKit? :-D It would
definitely go along with the Visual improvements for this next release...
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
where the
error ocurred), so I'd like to find out if the object exists and then
manipulate the object...
Was I too confuse? :-)
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Jason Bunting [EMAIL PROTECTED] writes:
Jorge Godoy on Thursday, November 16, 2006 at 8:25 AM wrote:
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
var newTable = DIV({'id':'action-place'},FORM({},TABLE({'class':
'small-font','style':'margin-left:14em'},
TBODY(null
response status
line. (http://svn.mochikit.com)
Can anyone confirm or deny this is the case, please?
Please post your svn version, too.
Thanks in advance for any hints.
Works here now, but with svn 1.4.0.
Be seeing you,
--
Jorge Godoy [EMAIL PROTECTED
] is undefined if no radio is
checked, but adding .value of course causes an object has no
property 'value' error.
Is the recommended approach to check if the object is defined before accessing
its .value?
--
Jorge Godoy [EMAIL PROTECTED
Hi!
From the docs callLater will do something after some seconds have elapsed. Is
it safe to use fractions of seconds?
Thanks,
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Bob Ippolito [EMAIL PROTECTED] writes:
On 12/15/06, Jorge Godoy [EMAIL PROTECTED] wrote:
From the docs callLater will do something after some seconds have elapsed.
Is
it safe to use fractions of seconds?
Yes. You can't depend on the browser's accuracy though. Internally the
precision
an object and function.
;-) I believe, then, that you'll be happy with the above.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send
Jorge Godoy [EMAIL PROTECTED] writes:
Hi!
I'm getting a report of an error and before I can get to a Windows machine
with IE 6 (or 7, the error happens on both) I'd like to know if there's
something too wrong with my code. If somebody can help me I'd be very
thankful.
The error
Jorge Godoy [EMAIL PROTECTED] writes:
Jorge Godoy [EMAIL PROTECTED] writes:
Hi!
I'm getting a report of an error and before I can get to a Windows machine
with IE 6 (or 7, the error happens on both) I'd like to know if there's
something too wrong with my code. If somebody can help me I'd
...
This is with MochiKit 1.3.1.
Thanks for any input on this.
Be seeing you,
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email
timestamp() {
return new Date().getTime();
}
Then, on your URL:
URL = URL + 'throw_away=timestamp()';
;-)
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received
Jorge Godoy [EMAIL PROTECTED] writes:
Hi!
I have this line of code on my application:
connect(document.body, 'onchange', calcular_resultado_creatinina);
Hi!
I've tried connecting on 'window' as well -- thanks Karl for your help! -- but
it didn't work.
A minimal example
)
No failure is showed on IE in any of these 6 tests.
Thanks for your suggestion!
I was discussing this with Karl Guertin earlier and one of the possibilities
he talked about is that MochiKit is intercepting that somewhere... (Or IE not
bubbling it as well...)
--
Jorge Godoy [EMAIL PROTECTED
Jorge Godoy [EMAIL PROTECTED] writes:
Kevin Damm [EMAIL PROTECTED] writes:
Maybe the onchange event isn't propagating to document.body in IE.
Have you tried wrapping everything in a div and connecting the
signal handler to that div instead? That seems to be a good
workaround.
It doesn't
Jorge Godoy [EMAIL PROTECTED] writes:
http://godoy.homeip.net/~godoy/testing_events.html (window + document.body)
http://godoy.homeip.net/~godoy/testing_events2.html (window +
window.document)
http://godoy.homeip.net/~godoy/testing_events3.html (window + div wrapped)
http
Jorge Godoy [EMAIL PROTECTED] writes:
Jorge Godoy [EMAIL PROTECTED] writes:
http://godoy.homeip.net/~godoy/testing_events.html (window +
document.body)
http://godoy.homeip.net/~godoy/testing_events2.html (window +
window.document)
http://godoy.homeip.net/~godoy/testing_events3.html
Jorge Godoy [EMAIL PROTECTED] writes:
Jorge Godoy [EMAIL PROTECTED] writes:
Jorge Godoy [EMAIL PROTECTED] writes:
http://godoy.homeip.net/~godoy/testing_events.html (window +
document.body)
http://godoy.homeip.net/~godoy/testing_events2.html (window +
window.document)
http
which node
caused the event to decide how to handle it.
I am more concerned with when some input fields are left, so that I can update
some calculations.
This might be with a mouse click or just a tab press... :-(
--
Jorge Godoy [EMAIL PROTECTED
Jorge Godoy [EMAIL PROTECTED] writes:
Karl Guertin [EMAIL PROTECTED] writes:
If you don't figure out a solution, I'd add a class to each
input/select that I'm looking to watch and do:
connect(getElementsByTagAndClassName('input','changes'),'onchange',action())
connect
hope that after this confession US authorities still allows me
entering the country. :-) Pardon me for my black humor... ;-)
Be seeing you,
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed
a 1.4 release... I was going to suggest updating
TurboGears externals yesterday but when I was going to check the latest stable
release of MochiKit I saw that it was 1.3.1 and we already use that there...
--
Jorge Godoy [EMAIL PROTECTED
troels knak-nielsen [EMAIL PROTECTED] writes:
There's this (Which I'm the author of):
http://candyscript.com/projects/minikit/samples/date.html
How I18Nized is it? How can I instruct it to show month names in pt_BR and
use dd/mm/ instead of mm/dd/ format?
--
Jorge Godoy [EMAIL
Mulugeta Maru [EMAIL PROTECTED] writes:
Thank you everyone. I am going try this
http://www.phpguru.org/static/dyncalendar.html
It was a bit problematic to use with Firefox 1.5 on Linux here...
--
Jorge Godoy [EMAIL PROTECTED
on the buttons a few
times to see what I mean!!
For IE you have to pass text-align: center; in your CSS. For standards
compliant browsers set left and right margin to auto in your CSS.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message
(following with my SELECT+OPTION example).
With this I could also try setting a hidden field and force some artificial
value to be set by default, but I would like to avoid that as much as
possible.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You
Arnar Birgisson [EMAIL PROTECTED] writes:
On 1/25/07, Jorge Godoy [EMAIL PROTECTED] wrote:
Hi Arnar! It doesn't work. I've lowered it up to 0.3 seconds and it started
giving me errors so I had to raise it back to 0.5 seconds and sometimes to 1s
depending on how much data can be returned
.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL
. It's not firebug,
but it does help a bit.
You can use firebug -- not to its full strength, though... -- in IE. Take a
look at http://www.getfirebug.com/ and to the right of the page there's the
mention of firebug light.
--
Jorge Godoy [EMAIL PROTECTED
English better, then you'll have lots of other
resources. Start with simple things then go to more complex stuff later. If
you can't you can always try some of the online translators -- such as
Google and Babelfish -- to get a starting point.
Be seeing you,
--
Jorge Godoy [EMAIL
not profiling the page.
Oh well.. Thanks for letting me know the load time wasn't typical.
I'm also using Firebug here... Try updating it.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
of it as a complementary
information instead of something directly related.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit
).
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email
:1.8.1.2) Gecko/20061023
SUSE/2.0.0.2-1.1 Firefox/2.0.0.2
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit
on the 0,0th
position of the division. i cant drag it to the desired location also.
can anybody give solution for this problem.
Use MochiKit. ;-) I believe you've sent your message to the wrong mailing
list.
--
Jorge Godoy [EMAIL PROTECTED
to SVN checkout if necessary. My code is below. Thanks.
Your row should have your record's id somewhere. Then you'r edit/delete JS
functions would pass this to your controller so that you can deal with the
right record.
--
Jorge Godoy [EMAIL PROTECTED
Brian Morton [EMAIL PROTECTED] writes:
Sorry for the dup Jorge, I replied to your email instead of replying
to the post.
No problem. Could you, please, forward the answer I gave you to the group?
It is an alternative to the suggestion made by Diez.
--
Jorge Godoy [EMAIL PROTECTED
: this.target is not a function.
And have you tried this.target; instead?
Is that only available in SVN? I am using 1.3.1 release. Thanks.
I use MochiKit 1.3.1 as well.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you
is capable of this, and is used
for this reason, or am I mistaken, and I have misunderstood what
MochiKit is for?
It is capable of doing what you want. But you can't ask for something
that don't exist yet. It is how DOM works and it has nothing to do with
MochiKit.
--
Jorge Godoy [EMAIL
with the key pressed? That's
what I'm getting on the page above...
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit
examples for MochiKit... Specially with
all the demos it has.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit
and
selects. Do you see any other element where this kind of interface
could be applied to?
Thanks for you opinions,
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit
.)
Sorry for wasting your time.
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL
you need to
get MK's trunk as well...
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
90 matches
Mail list logo