hi karl, yes i've thought about doing it like that. It 's probably the best way to do that but i've never used custom events so i thought it might be another possibility.
cheers! alex On Dec 14, 2007 4:10 AM, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > Hi Alexandre, > > Could you just use the .change() method and use an if statement? > > pseudo-code: > > $('input1, input2').change(function() { > if ( input1.value && input2.value ) { > // do your thing. > } > > I might be misunderstanding the question, so please clarify if I've > got it all wrong. :-) > > > --Karl > _________________ > Karl Swedberg > www.englishrules.com > www.learningjquery.com > > > > > On Dec 13, 2007, at 6:22 PM, pixeline wrote: > > > > > hello! > > > > in a complex form i'm working on, there are 2 textfields allowing to > > specify a startdate and an enddate. > > > > I need to display an additional form UI ( spanning the weeks in > > between the two dates) WHEN the two fields are filled in. > > > > I have absolutely no idea on how to make such an event. I guess it's > > about creating "custom" events ? > > > > any idea/tip/tutorial would be much appreciated ! > > > > thank you, > > > > alexandre > > -- Alexandre Plennevaux LAb[au] http://www.lab-au.com