php - Cant seem to get value of input text fields value into hidden form fields using javascript -


So I have a code of code:

The idea is that users can find their coordinates And then present them in hidden areas through the Postal field.

I hidden'm using fields Latitude and JQuery just read Lange field values ​​I but postal variable always being not copy empty values.

One theory is that I have hidden fields inside a form, while there are no input trying to make a copy. So the first question is, is there a scope issue? If so, should I leave the form and submit another method, if she will give me access to values?

Thank you

Norman

Well, you probably When you look at it, you are going to kick yourself. I know that before I saw it took me a few minutes.

It looks like you are trying to copy the value in a jQuery block at the bottom of the page. However, that bit of code is only going on when the document is ready, and not when the geocoding operation is done.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -