Jump to content


Photo

Formulário por steps. Erro no display?

Js Javascript Onclick Submit

  • Faça o login para participar
4 replies to this topic

#1 Emerine

Emerine

    Normal

  • Usuários
  • 79 posts
  • Sexo:Não informado

Posted 31/05/2015, 16:30

Na página que estou mexendo eu preciso passar a div "step2" para "step3"

 

Estou tentando utilizar esse comando. Essa função é chamada no OnClick do Submit do Form do Step2

<script>function step3(){
    $('.step2').css('display', 'none');
    $('.step3').css('display', 'block');
  }


</script>
 
Okay.
 
O problema vem agora.
 
Após o OnClick ser executado, rapidamente o step2 some, e aparece o step3.
Só que depois de alguns ms, parece que a página atualiza depois do submit e volta com o "STEP 2". E fica nisso.
 


#2 Danilomaru

Danilomaru

    Ativo

  • Moderadores
  • 300 posts
  • Sexo:Masculino
  • Localidade:brasil

Posted 02/06/2015, 04:58

você está fazendo o submit com ajax?
se não, vai acontecer isso mesmo, pq você está solicitando ao servidor, e ai ele mata a execução do javascript.



#3 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 15385 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 14/09/2017, 08:25

Buy Metformin Without Prescription cialis online Kamagra Soft Tablets Cialis Comprar Online Levitra Medications Viagra 25 Mg 4 St cialis Why Take Cephalexin
The Healthy Man Viagra cialis Buy 10mg Levitra Online
Synthroid No Prescription Usa Generic Priligy Dapoxetine 60mg Achat Lioresal 25mg
Cialis Canada Cost <a href=http://cialtobuy.com>cialis price</a> Levitra Krankenkasse
Buy Furosemide Cheapest viagra cialis Accutane Buy Online Canada
Levitra 20mg Avis Generic Clobetasol Where Can I Buy Quick Shipping Cialis Prezzo Ufficiale
Side Effects Amoxicillin <a href=http://cialtobuy.com>cialis</a> Female Kamagra Jelly

#4 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 15385 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 10/10/2017, 12:16

Buy Vigra Definicion De Propecia Tadalafil No Prescription cialis Recommended Dosage For Amoxicillin Discount Worldwide Secure Amoxicilina Tablets Website Mastercard Shop Priligy Tabletas

#5 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 15385 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 09/02/2023, 17:26

Shafiezadeh, M where to buy female viagra pill Learn more about open fractures of the tibia and fibula
online finasteride prescription During a cycle the body has higher levels than normal of androgens and as long as this level is high enough clomid will not help to keep natural test production up
Ideal users recover easily due to their good genetics, youth, and or naturally high testosterone levels and will therefore be loud proponents that post cycle therapy is not necessary cheap cialis A S miR 21 increases the expression of PTEN, PDCD4 and Bcl 2
But they deplete good gut bacteria, too, just like antibiotics, Carlton Abrams says lasix pill





Veja alguns posts relacionados com: Js, Javascript, Onclick, Submit

0 user(s) are reading this topic

0 membro(s), 0 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq