[jQuery] Re: Two search kriteria

2010-01-24 Thread Frank Becker
Am 24.01.2010 21:45, schrieb John Arrowwood: console.log( $('#zip').val() ); Firebug shows: (An empty string) By the way, it was 'val' and not 'value', I was working from memory, and my memory was obviously a tad faulty. I usually don't use it, so... You don't use your memory? :-) > Any

Re: [jQuery] Re: Two search kriteria

2010-01-24 Thread John Arrowwood
Do you have firebug installed? Or Safari? Or something which gives you a console? If so, before the autocomplete line, insert: console.log( $('#zip').val() ); By the way, it was 'val' and not 'value', I was working from memory, and my memory was obviously a tad faulty. I usually don't use it,

[jQuery] Re: Two search kriteria

2010-01-24 Thread Frank Becker
Give your Zip field an ID, then use $('#zip').value() instead of form.ZIP.value. Or maybe it's .value without parenthesis, I don't remember, and I'm not in the mood to go look it up for you. :) But bottom line, don't use 'form.ZIP'. That's the part that isn't working. Hi John, The input-fie