[mochikit] Re: submit buttons in MochiKit.DOM.formContents

2006-12-14 Thread Diez B. Roggisch
Simon Wittber schrieb: > I'm using MochiKit.DOM.formContents to grab form variables, which I > then use in a background ajaxian POST. > > When a form has multiple buttons of the same name, for example, > 'command', the value for the button which is clicked by a user has > it's value sent in the

[mochikit] Re: Calling the rounding function after the page has loaded

2006-12-14 Thread Andrew
Thanks for the border solution. I changed the border from false to an rgb() or hex value. I still have problems with FF2's white corners and some borders that the script generates in IE6 are messed up. Is this my css is it rendering incorrectly? --~--~-~--~~~---~--~

[mochikit] Re: MochiKit.Async.callLater and subsecond precision

2006-12-14 Thread Bob Ippolito
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 of that argument is milliseconds. -bob -

[mochikit] MochiKit.Async.callLater and subsecond precision

2006-12-14 Thread Jorge Godoy
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

[mochikit] submit buttons in MochiKit.DOM.formContents

2006-12-14 Thread Simon Wittber
I'm using MochiKit.DOM.formContents to grab form variables, which I then use in a background ajaxian POST. When a form has multiple buttons of the same name, for example, 'command', the value for the button which is clicked by a user has it's value sent in the POST request. The formContents fun

[mochikit] Re: Getting states of radiobuttons

2006-12-14 Thread Jorge Godoy
"Arnar Birgisson" <[EMAIL PROTECTED]> writes: > On 12/13/06, Arnar Birgisson <[EMAIL PROTECTED]> wrote: >> var selectedvalue = filter( >> itemgetter('checked'), >> $$('#radios input[name=test]) >> )[0].value; >> >> You end up with "undefined" if no radio is checked. > > Sorry, that is not cor

[mochikit] For EVERY Pakistani Muslim... amendments in hudood ordinance

2006-12-14 Thread Eminaeem
This is for EVERY Pakistani Muslim to know about the amendments in hudood ordinance, so called "Adults' rights ordinance"... Please download and listen to the following... http://www.tanzeem.org/tanzeemeislami/2006-12-08.ra This is not an enforcement, but a humble request. Don't just listen to t

[mochikit] Re: Calling the rounding function after the page has loaded

2006-12-14 Thread Thomas Hervé
[EMAIL PROTECTED] a écrit : > Thomas Hervé wrote: > > The first problem I see is that you call roundClass with the option > > border at true, whereas it takes a color as argument. It should be in > > the documentation though. > > No, the documentation says that the default value for border is fa

[mochikit] Re: Calling the rounding function after the page has loaded

2006-12-14 Thread lsloan-000...@umich.edu
Thomas Hervé wrote: > The first problem I see is that you call roundClass with the option > border at true, whereas it takes a color as argument. It should be in > the documentation though. No, the documentation says that the default value for border is false. That would indicate it is a boolean

[mochikit] Re: Getting states of radiobuttons

2006-12-14 Thread Arnar Birgisson
On 12/13/06, Arnar Birgisson <[EMAIL PROTECTED]> wrote: > var selectedvalue = filter( > itemgetter('checked'), > $$('#radios input[name=test]) > )[0].value; > > You end up with "undefined" if no radio is checked. Sorry, that is not correct. filter(...)[0] is undefined if no radio is checked,

[mochikit] Re: Calling the rounding function after the page has loaded

2006-12-14 Thread Thomas Hervé
The first problem I see is that you call roundClass with the option border at true, whereas it takes a color as argument. It should be in the documentation though. -- Thomas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl