Login   Register  
PHP Classes

Auto fill issue

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      "Clevertext" AJAX text box  >  All threads  >  Auto fill issue  >  (Un) Subscribe thread alerts  
Subject:Auto fill issue
Summary:Trouble with auto filling other fields.
Author:joe davis
Date:2008-04-03 05:43:27

  1. Auto fill issue   Reply  
Picture of joe davis
joe davis
2008-04-03 05:43:27
I am trying to use clevertext to auto fill other fields (that are also clevertext fields) based on the input of one field.

I will be honest my JS is really weak. I think I have it narrowed down to the JS. I was just wondering if you would assist me in modifying the JS so that it will recursively look for field tags and fill in the proper fields on the page.

I can tell you what it is doing.

The java script is taking the first field tag and putting it where it belongs, never touching the other field tags.

After looking at the java script it doesn't even seem to matter that there is a <data> tag.

I have tried looping the function "handleStateChange"
with "http.responseXML.childNodes.length", to no avail.

Any suggestions would be greatly appreciated.

Thanks so much in advance.