Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problema ao recuperar dados preenchidos (Cidade e Estado) CORRIGIDO #16

Open
GoogleCodeExporter opened this issue May 27, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

Os valores preenchidos no formulário não eram recuperados:
    estadoVal: $('#estado').val(),
    cidadeVal: $('#cidade').val(),

What is the expected output? What do you see instead?
Formulário já deveria aparecer preenchido.

What version of the product are you using? On what operating system?
cidades-estados-js 1.2
Firefox 64 bits 9.0.1
Ubuntu 11.04

Please provide any additional information below.
Precisei alterar a linha:

if ((options[j].tagName == 'OPTION') {

Para o seguinte:

if ((options[j].tagName == 'OPTION') || (options[j].tagName == 'option')) {

Espero que ajude.

Original issue reported on code.google.com by fred.santos.oliveira on 10 Jan 2012 at 12:20

Attachments:

@GoogleCodeExporter
Copy link
Author

obrigado.. agora sim funcionou!

Original comment by [email protected] on 13 Sep 2012 at 1:50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant