Thanks Steve that did the trick.

Greg

Actually, I want to both key/value.

On Jun 16, 9:05 pm, Steven Yang <kenshin...@gmail.com> wrote:
> I think what you want i something likevar params = {
>        TotalApartmentsServed: $('#TotalApartmentsServed').val(),
>
>  TotalWashroomsPerApartment:$('#TotalWashroomsPerApartment').val(),
>                TotalPowerPipeUnits: $('#TotalPowerPipeUnits').val(),
>                DrainStackLength: $('#DrainStackLength').val(),
>                DrainStackDiameter: $('#DrainStackDiameter').val()
>        };
>
> i think you only want to submit the value of the fields back to server
> right? not the entire elements

Reply via email to