[jQuery] Problems with variables

2009-09-11 Thread Netto
I`ve the follow code: $(function() { $(#datepicker).datepicker({minDate: '1/1/2009', maxDate: '10/10/2010'}); }); In this ame page, I`ve this field: input type=hidden value=02/02/2009 name=date1 id=date1 / I would get the date of field with name: date integrate with jquery like this: -

[jQuery] problems using variables instead of text with :contains()

2007-11-13 Thread jeff
I am a little confused on the syntax for :contains. I want to be able to pass in a variable to the parameter for :contains. It can take either quoted or non-quoted text, which on one hand can be convenient, but on the other is difficult if you are trying to pass a variable. Here is the test