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