Form Submission in Django without Page Refresh using AJAX - Django and Ajax Beginner Tutorial

Поделиться
HTML-код
  • Опубликовано: 15 янв 2025

Комментарии • 59

  • @user_userovich
    @user_userovich Год назад +2

    I'm really very grateful for such an informative and relatively short video on this topic)
    your work is worth it, keep going, man!

  • @a.tparmar6826
    @a.tparmar6826 Год назад +1

    Wow! worked fine, thanks destiny

  • @felipevargas7864
    @felipevargas7864 2 года назад +1

    it was really easily to understand, thank you very much!

    • @desphixs
      @desphixs  2 года назад

      Glad to help, thanks ❤️

  • @zahraBatenin
    @zahraBatenin 7 месяцев назад +1

    fast and useful. thnx

    • @desphixs
      @desphixs  7 месяцев назад

      You're welcome!

  • @MadRad1000
    @MadRad1000 2 года назад +1

    Thank you for making this very clear, great tutorial!

    • @desphixs
      @desphixs  2 года назад

      Happy to help ❤️

  • @fernandocoelho1334
    @fernandocoelho1334 5 месяцев назад

    Thank you!

  • @GustavoHenriqueZollnerMunhoz
    @GustavoHenriqueZollnerMunhoz Год назад +1

    Thanks for the tutorial bro, exactly what i needed

    • @desphixs
      @desphixs  Год назад

      You’re welcome, hope you enjoyed it.

  • @vat_academy
    @vat_academy Год назад +1

    Excellent presentation

  • @lambridegideon1092
    @lambridegideon1092 3 месяца назад +1

    Great content!!... What's the name of the extension you use to auto fill the form??

    • @desphixs
      @desphixs  3 месяца назад

      Thanks alot bro
      The extension is called fake-filler

  • @lilyhigh3900
    @lilyhigh3900 Год назад

    Really helpful for beginners to Ajax, thank you

    • @desphixs
      @desphixs  Год назад

      You're very welcome! Glad it was helpful

  • @mr.jaweedkhan3364
    @mr.jaweedkhan3364 2 года назад +1

    Great, easily understandable.

    • @desphixs
      @desphixs  2 года назад

      Thanks alot brother ❤️

  • @mohayminmaguid9011
    @mohayminmaguid9011 2 года назад +1

    Good day bro. Great tuts, simple and very understandable.

    • @desphixs
      @desphixs  2 года назад +1

      Thank you very much, I appreciate your comment ❤️

  • @clearthinking5441
    @clearthinking5441 Год назад +3

    Can you also pass in password fields through AJAX or is that not secure?

  • @ameyapotdar461
    @ameyapotdar461 2 года назад +1

    Great video!
    Can you make a video of how to do CRUD using django + ajax?

    • @desphixs
      @desphixs  2 года назад

      I thought about that too, sure I'd make a video pal

  • @raymonddavis1557
    @raymonddavis1557 2 года назад +1

    Great Tutorial and well explain , but how do i clear the input form from the ajax after submission?

    • @desphixs
      @desphixs  2 года назад

      You're welcome
      You can Reset Ajax forms using the reset () method.

  • @mohayminmaguid9011
    @mohayminmaguid9011 2 года назад +1

    Brother where did you get the "input name" in the ajax? What is the purpose? Thanks

    • @desphixs
      @desphixs  2 года назад

      I got the input value in Ajax using the id attribute. We need to get the input value because we want to grab whatever is it that we are typing into the input.

  • @rezarostami891
    @rezarostami891 2 года назад +1

    very good

  • @trash2treasure786
    @trash2treasure786 2 года назад +1

    great ,
    can you do a tutorial in django on how to edit/update HTML tables without page refresh , something a bit similar to EXCEL-Like data entry

    • @desphixs
      @desphixs  2 года назад +1

      Okay sure, I'd look into that ❤️

  • @mohayminmaguid9011
    @mohayminmaguid9011 2 года назад +1

    Brother is applicable using my modalform?

  • @MatthiasMowe
    @MatthiasMowe 5 месяцев назад

    Thank you for this tutorial. Where I got stuck: Don't load jQuery in slim minified version via CDN; it takes out AJAX! 🙄🙂

  • @ratlima2438
    @ratlima2438 Год назад +1

    Hi Desphixs, I really enjoyed your tutorial and followed every step I could see you doing. But it didn't work for me, something I missed. I went looking for the code you shared and I didn't find it. Then I saw that some people asked you for the code, but that was a year ago. Is there a possibility that you share it now? Thank you very much my friend!

    • @desphixs
      @desphixs  Год назад +1

      Thanks i'm happy that you liked the videos.
      TBH, after making the tutorial i lost almost all the files on my PC and unfortunately, i have not commited it to github then.
      I'll create the HTML files and upload it again.

    • @rubenslima7461
      @rubenslima7461 Год назад +2

      @@desphixs Thank you very much for your attention. This code will really help me a lot. Thank you in advance.

  • @toddgilbey3979
    @toddgilbey3979 11 месяцев назад +1

    Quick question: why is there no method = "POST"?

    • @desphixs
      @desphixs  10 месяцев назад +1

      We’re using Ajax, so we add the method using Ajax instead of the Django view

    • @toddgilbey3979
      @toddgilbey3979 10 месяцев назад

      @@desphixs You’re using Ajax? You poor thing. How’s your sanity? 😂

  • @basheerolamilekanbalogun6546
    @basheerolamilekanbalogun6546 2 года назад +1

    How can I get ajax cdn ?

    • @desphixs
      @desphixs  2 года назад

      Just search jqeury cdn on your favorite search engine 🙂

  • @harshalshah1058
    @harshalshah1058 10 месяцев назад

    Can you please provide the source code for index.html....

  • @rainaraji865
    @rainaraji865 Год назад +1

    Please add the source code for this video.

    • @desphixs
      @desphixs  Год назад +1

      Okay, I'll upload it

  • @bhaskarmarri7092
    @bhaskarmarri7092 2 года назад

    hi, you have not shared source code, for me it is giving lot of errors. kindly share the source code

    • @desphixs
      @desphixs  2 года назад

      As soon as I find the source code I'll upload it for you, but what's error are you getting, let's debug it together

  • @bhaskarmarri7092
    @bhaskarmarri7092 2 года назад

    kindly share code

    • @desphixs
      @desphixs  2 года назад

      Okay

    • @bhaskarmarri7092
      @bhaskarmarri7092 2 года назад

      @@desphixs i am waiting for ur code

    • @krishnanath08
      @krishnanath08 Год назад

      Yes where is the code?? I didn't see it in description😢

  • @aswanthm4118
    @aswanthm4118 2 года назад +1

    jquery.min.js:2 POST 127.0.0.1:8000/create 500 (Internal Server Error).
    its showing this error. How to fix it..?

    • @desphixs
      @desphixs  2 года назад

      make sure that you are adding the jquery cdn at the head to be able to use jquery in the document

  • @TheLegendOfNiko
    @TheLegendOfNiko Год назад +2

    Thanks mate this was very helpful for understanding Ajax!