[mochikit] Pretty cool - anyone can be a DJ

2007-02-26 Thread nowlivetwo
Thought some of you might be interested in this, I thought it was pretty cool... NowLive.com is a live mobile community. DJs on the shows get to interact with people doing interviews, sending in live videos and photos. The best part of NowLive is that YOU can become a DJ or a field reporter and ge

[mochikit] BEGINNER: understanding the ajax_tables example

2007-02-26 Thread Thomas
Hello group :-) I am pretty new to MochiKit but got some experience in JavaScript. At the moment I try to implement some ajax- tables (like in the example) in my project. I read a lot of the documentation, "played" with the interpreter and tried to get the example- code ("ajax_tables.js")*, but m

[mochikit] Re: (another) IE problem

2007-02-26 Thread Diez B. Roggisch
carlo schrieb: > var opt_display=function(row) { > alert(row); > return OPTION({"value":row},row);} > > function FillCombo(analist) { > var lista = > SELECT({'id':'anagr','name':'anagr'},map(opt_display,analist.anagr)); > swapDOM('anagr', lista); > var lista = > SELECT({'id':'stato','name':'stato

[mochikit] (another) IE problem

2007-02-26 Thread carlo
var opt_display=function(row) { alert(row); return OPTION({"value":row},row);} function FillCombo(analist) { var lista = SELECT({'id':'anagr','name':'anagr'},map(opt_display,analist.anagr)); swapDOM('anagr', lista); var lista = SELECT({'id':'stato','name':'stato'},map(opt_display,analist.stati));

[mochikit] Re: Date Picker

2007-02-26 Thread Diez B. Roggisch
On Friday 23 February 2007 12:03, Pearl wrote: > On click event of a button I am dynamically creating a form. Form has > a calendar date picker in it. Can I some how use turbogears > calendarDatePicker widget in this case? Yes, you can. The TG date picker is just the dynarch js calendar: http://

[mochikit] Re: Can it be more simple ?

2007-02-26 Thread Kevin Damm
Or, return (compare(americanDate($('exsupplier_date').value), americanDate($('arrival_date').value) != 1); On 2/26/07, Matthew Kwiecien <[EMAIL PROTECTED]> wrote: > More simple how? So you don't need the split and piecing back together? If > so, then how about: > > if > (compare(americanDate($(

[mochikit] Re: Can it be more simple ?

2007-02-26 Thread Matthew Kwiecien
More simple how? So you don't need the split and piecing back together? If so, then how about: if (compare(americanDate($('exsupplier_date').value),americanDate($('arrival_date').value))!=1) return true; else return false; If you're looking for something different than this, you're gonna have to