ziedinjsh Posted January 16, 2013 Report Share Posted January 16, 2013 Sveiki. esmu nedaudz apjucis un nesaprotukā panākt vēlamo effektu. Tā tad. Nospiežot pogu ar toggle() funkciju atveras vaļā div kur iekšā ir forma.. ieraksta tekstu, submito formu: ja ir kāda kļūda tad parāda kļūdu, bet ja echo ir success tad repleiso formu ar tekstu "Paldies" un pēc 1.5 sekundes fadeOut. tas taka būtu, bet nospiežot atkal pogu man parādās Paldies teksts. kā tad atgūt atpakaļ formu.. Kad ir fadeOut funkciju atkal likt ar jQuery iekš tā div tagada formu? Quote Link to comment Share on other sites More sharing options...
F3llony Posted January 16, 2013 Report Share Posted January 16, 2013 What is this I don't even... Quote Link to comment Share on other sites More sharing options...
waplet Posted January 16, 2013 Report Share Posted January 16, 2013 Pasties kāds ir kontenta saturs, ja ir Paldies, tad ielādē form'u Quote Link to comment Share on other sites More sharing options...
daGrevis Posted January 16, 2013 Report Share Posted January 16, 2013 Pēc `fadeOut()` atjauno oriģinālo formu. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.