[jQuery] Re: Converting objects to strings

2009-06-17 Thread gdfox
Thanks Steve that did the trick. Greg Actually, I want to both key/value. On Jun 16, 9:05 pm, Steven Yang wrote: > I think what you want i something likevar params = { >        TotalApartmentsServed: $('#TotalApartmentsServed').val(), > >  TotalWashroomsPerApartment:$('#TotalWashroomsPerApartm

[jQuery] Converting objects to strings

2009-06-16 Thread gdfox
Hi All, I have the following code, which I am trying to pass in 5 variables. $(function(){ $('#DrainStackDiameter').change(function(){ var params = { TotalApartmentsServed: $('#TotalApartmentsServed'), TotalWashroomsPerApartment:$('#TotalWashroomsPerApa

[jQuery] EqualTo not seem to be working.

2009-01-12 Thread gdfox
Hi, I have the following code. I want to compare confirm_number with number. The required field works, but not the equalTo. Any help is appreciated. Thanks, Greg <-- snip --> $(document).ready(function(){ $("#form1").validate()({ rules: {