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, so...
Where would I look it up? The jquery documentation: api.jquery.com, more specifically http://api.jquery.com/category/attributes/
Anyway, if the console.log command outputs the correct value, check to make sure that the back-end script is being called. If not, we will need more details.
On Sun, Jan 24, 2010 at 11:18 AM, Frank Becker <computersachen@beckerwelt.de> wrote:
Hi John,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.
The input-field for the zip-code has the id zip already.
Unfortunately this doesn't work.add='+$('#zip').value(), {
$("#street").autocomplete('search.php?what=street&
The script search.php isn't called. Nothing happens.
The other possibility also doesn't workadd='+$('#zip').value, {
$("#street").autocomplete('search.php?what=street&
In search.php the parameter "add" is undefined.
You wrote, you are not in the mood to look for me. Where would you look? I can do it too.
Best regards
--
Frank Becker
--
John Arrowwood
John (at) Irie (dash) Inc (dot) com
John (at) Arrowwood Photography (dot) com
John (at) Hanlons Razor (dot) com
--
http://www.irie-inc.com/
http://arrowwood.blogspot.com/
No comments:
Post a Comment