Dynamic Dependent Select Box using Jquery and Ajax in PHP

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • This video explain how to make dynamic dependent select box by using Jquery Ajax and PHP. When you select one select box, next select box will be filled dynamically based on value of first select box without refresh of page. Source Code - www.webslesson....

КОМЕНТАРІ • 64

  • @abdalrasheedhasan3859
    @abdalrasheedhasan3859 3 роки тому

    this is just illegal to be absolute free, i can't believe there is still universities out-there when youtube exists !! very helpfull

  • @RambabuJalliBSNL
    @RambabuJalliBSNL 4 роки тому

    Simple and excellent tutorial. I tried many ways, finally this worked for me..

  • @angelodelin1220
    @angelodelin1220 6 років тому

    Tried a lot of tutorial, but your tutorial helped me a lot. Thank you so much @Webslesson

  • @souravsen5773
    @souravsen5773 7 років тому +4

    Your voice makes me go Gaga :D

  • @brijenderkumardogra7343
    @brijenderkumardogra7343 2 роки тому

    Good explanation ... thanks.

  • @abrahammekbib5163
    @abrahammekbib5163 4 роки тому

    thank you it help me a lot specially the source code

  • @mohammedismail7049
    @mohammedismail7049 5 років тому

    Thanks.....its working perfectly very good keep it up

  • @deeaandreea2720
    @deeaandreea2720 3 роки тому

    Thank you so much . God Bless YOU!!!!!!

  • @rafaelyahu
    @rafaelyahu 7 років тому

    thanks for help saved my life

  • @naseraslam92
    @naseraslam92 7 років тому

    it worked 100% thanks weblesson

    • @webslesson
      @webslesson  7 років тому

      Thank you Naser Aslam for your kind talk.

  • @mixup7161
    @mixup7161 4 роки тому

    thank you for your help Im subscribed yoor channel

  • @bamsgian9759
    @bamsgian9759 5 років тому

    Thanks, you help me a lot!

  • @Leo-wk2vs
    @Leo-wk2vs 5 років тому

    thanks!it worked perfectly!truly happy

  • @ndsolution9329
    @ndsolution9329 4 роки тому

    nice video

  • @saurabhsgawade7436
    @saurabhsgawade7436 4 роки тому

    Thank you so much

  • @MrFranciscoooooo
    @MrFranciscoooooo 6 років тому

    Thx to you I could do this :D

  • @EmilKitua
    @EmilKitua 8 років тому

    so helpful thank you....

  • @ibrahimbabagana2020
    @ibrahimbabagana2020 6 років тому +5

    only country is fetching, the second select doesnt work. any help?

  • @sanjeetkumar-se8gu
    @sanjeetkumar-se8gu 7 років тому

    so nice sir

  • @thnqolo9667
    @thnqolo9667 5 років тому

    Thank You so much, this is perfect. How to select data from 4 table rows like 1. country, 2. province, 3. city, 4. location?

  • @livelife1192
    @livelife1192 7 років тому +1

    Hello, thank you for the video, do you have tutorial on saving this data that you selected in another table?

    • @webslesson
      @webslesson  7 років тому

      Thank you Flor Saganto for your suggestion. We have forwarded it.

  • @KingEazie
    @KingEazie 7 років тому

    thanks it worked BT how do I duplicate state ...for example I want a user to select all states he has visited in that country ...how do I duplicate the state to take more than one value

  • @brcrs
    @brcrs 8 років тому +4

    This is great but this voice is fucking hilarious, friend.

    • @MrXenolution
      @MrXenolution 8 років тому

      Production value x100.

    • @brcrs
      @brcrs 8 років тому

      hahaha I remember cry laughing at how many times she says "friend" and "hello, friend" throughout the video

  • @smurffronda2951
    @smurffronda2951 3 роки тому

    thank you

  • @mayurm4030
    @mayurm4030 3 роки тому

    is it possible to show the relevant details in text after selecting the state from dropdown?? if yes, please help me with the codes. em badly stuck.. please.

  • @partsonchizema6039
    @partsonchizema6039 6 років тому

    I am using PHP and I want to load a database record into a form (for possible updating) with dynamic select drop downs but i am struggling with that. I can't just successfully have the dynamic select fields populated. Please assist.

  • @daniik.
    @daniik. 5 років тому

    THANKS!!!!!

  • @neelsfer
    @neelsfer 6 років тому

    Very Nice tutorial.. How about filtering a html table contents based on one column value in another html table on the same page. ie table one when you use tab to go to a column called town , then it shows in 2nd table all other people from the same town. Thus filter one html table based on another html table column

  • @AZ-lo5or
    @AZ-lo5or 5 років тому

    Thank you for the tutorial. The only problem I have is that when I displayed back the value that user select for country, it shows the country_id, not the country_name. I want user to see back what country that she/he has selected.

  • @kennethmokgoshi9409
    @kennethmokgoshi9409 8 років тому

    thank you can you help with creating 3 drop downs

  • @programmingeducation3381
    @programmingeducation3381 4 роки тому

    hello,my second select box not fetching the value from database.And my code is 100% right please help

  • @sowmyasp2528
    @sowmyasp2528 6 років тому

    I gone through your website I found three depend list. If I want to save selected value in variable how can it be done

  • @MuhammadAli-sg4ev
    @MuhammadAli-sg4ev 6 років тому

    thanks sir

  • @sialasalma7918
    @sialasalma7918 8 років тому +1

    how select data in table from this two liste box ?

    • @naseraslam92
      @naseraslam92 8 років тому

      use the and tags to get data in tables or mention your email i'll send you source code

  • @SarthakSrivastava
    @SarthakSrivastava 4 роки тому +1

    Not working now.....

  • @icrmsoftware59
    @icrmsoftware59 7 років тому +1

    Not working... Only country data fetched in country select box but state select box not working...

  • @gangareddy7816
    @gangareddy7816 5 років тому

    How to display the selected data into new table?

  • @surajopagrahari877
    @surajopagrahari877 4 роки тому

    Notice: Undefined index: countryId in C:\xampp\htdocs\Dynamic_Menu\fetch_state.php on line 4

  • @diptosaha4924
    @diptosaha4924 8 років тому

    how do i get the state_id which i select in another file ??

  • @CaptchaZone
    @CaptchaZone 6 років тому

    nice

  • @daromeromen4692
    @daromeromen4692 4 роки тому

    how to edit, update and delete?

  • @ignoreme6854
    @ignoreme6854 7 років тому

    where is the content of "jquery.js"? the tutorial is helpful by the way

    • @webslesson
      @webslesson  7 років тому

      Hi Maria we have use Google Jquery library link, so if you want jquery.js file just download from that link.

  • @nexgeninfotech3556
    @nexgeninfotech3556 6 років тому

    tutorial was nice but coding display on white screen that means background is white color thank u

  • @faqirzamanltd
    @faqirzamanltd 3 роки тому

    Thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaannnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkksssssssssssssssssssssssssssss منننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننننه

  • @Nobody-wy2en
    @Nobody-wy2en 8 років тому

    so helpful but voice is not clear

  • @ghanshyamvariya9189
    @ghanshyamvariya9189 7 років тому

    this is not working on my server ...

  • @rajnesh2973
    @rajnesh2973 7 років тому

    jquery js file ?????

  • @kristyte6436
    @kristyte6436 5 років тому

    DO NOT use this technique in a production environment, in fact, do not use this technique at all. There is no user input sanitation and this will make your web application vulnerable to SQL Injection attack. At a bare minimum a parameter query should be used in the fetch_state.php file. The author of this video should take this video down or replace it with a version which demonstrates minimally secure code as it is demonstrating improper programming techniques.

    • @marineoutsource
      @marineoutsource 4 роки тому

      A matter of curiosity, can you inject into data? I am not a programmer learning only from online such as this... can you at least share the code for "input sanitaton"?

  • @shymaahelal9669
    @shymaahelal9669 4 роки тому

    thank you so much

  • @naseraslam92
    @naseraslam92 8 років тому

    very helpful bt voice is not clear

  • @anasvlogs6407
    @anasvlogs6407 6 років тому

    thank you very much