Yii2 Lesson - 31 Submitting Forms Using Ajax

preview_player
Показать описание
Thanks for watching this lesson. Stay tuned for more lessons on yii2.

Follow me on twitter @Uthpala_419
Рекомендации по теме
Комментарии
Автор

Hi @DoingITeasyChannel ! In which lesson did you get the modal with form pop up?

grrinch
Автор

May I ask why do you use "\$form"? Never saw this way to name a variable before...

panke
Автор

Can you please give the js code, in your blog it didn't exist your code

Yacoobee
Автор

Thanks a lot! Your lessons very usefull.
BTW can you tell, where you got firebug for chrome?

VadimTrishkin
Автор

you need add this : on('submit', function(e){
    e.preventDefault();
});  in the end

PauloCabralprogrammer
Автор

Why to use registerJs instead of just writing the javascript code on the view or in the assets folder?

victorwillhuber
Автор

What if we have an image to upload using ajax in the same form?

ankitsuthar
Автор

usefull thing. thanks a lot for this lesson!

dramaava
Автор

Thanks for turtorials when will be new one

GalamatBiz
Автор

hi, doing it easy.

I want to use pjax to submit a form and then I need to update a gridview; so I found
many tutorials but nothing working for me.

Please Help me ;)

angelladelahoz
Автор

Hey, i have been trying to implement this submit using ajax but after i did all the steps my onclick modal is blank with only title in the modal. Can anyone suggest why that could be . Iam on a deadline . help lol.

manishpal
Автор

Hello, thank you for your tuts. But there is one problem - i cant see does your validation works or not. What happens when you hit submit button and your forms are blank?

vladimirsstirmanovs
Автор

Please create video on Yii2 reports...

psriniu
Автор

im having a problem, after submiting i did the form hides but when i click again in the view to show the form again throws an error saying the function modal (in the main.js you created, in the line exists

TheCocuba
Автор

Does file upload also work in this? For me I am unable to upload files

zubines
Автор

hi sir, could you teach us how to create pop up wizard form registration and after they submit the form wizard, the page automatically update the data in cgridview without refresh the page? can u do that sir? tqvm :)

zuhaidasaini
Автор

where i can download source code example

nguyenvietcuong
Автор

hi, can you make a tutorial with how to put any design to the yii2 frontend?
Tnx m8!

ciunguta
Автор

When i test with console log, minute 4:20, appear a blank page

PauloCabralprogrammer
Автор

Having errors with "\$form. attr(" action") and $(\$form). trigger ("reset ") error being " syntax error, unexpected 'action' and 'reset' (T_STRING)

emmanuelsawe