AgtLucas / cidades-estados-js

Automatically exported from code.google.com/p/cidades-estados-js
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
obrigado.. agora sim funcionou!

Original comment by e...@conceitualinternet.com.br on 13 Sep 2012 at 1:50