Sunday, October 11, 2020

Re: populate select field based on the selection option

Hi do you hire contract based python/django freelancer?
 We can help you in this and related tasks at fair prices. Reply or send email to divyesh@pythonmate.com
Best Regards, 
Divyesh Khamele,
Pythonmate

On Sat, 10 Oct 2020, 2:32 pm Eugene TUYIZERE, <eugenetuyizere@gmail.com> wrote:
Dear Team,

I have se;ection option where I need to select an option and populate the other selection field 

this the html code

                                 <select class="form-control"  id="place_of_birth">
<option> </option>
<option> Country_name </option>
<option> Other </option>
</select>
</div>
<div class="col-sm-2">
<strong><label>Plece*</label></strong>
<select class="form-control" >

</select>
</div>
This is different from dependency drop down because I have two different tables where I need data for the first option (country_name) and second one (Other). I need codes that can help me to do this task.
--
TUYIZERE Eugene

Msc Degree in Mathematical Science

African Institute for Mathematical Sciences (AIMS Cameroon)
Crystal Garden-Lime, Cameroon


Bsc in Computer Science

UR-Nyagatare Campus

Email: eugene.tuyizere@aims-cameroon.org
           eugenetuyizere@gmail.com

Tel: (+250) 7 88 26 33 38, (+250) 7 22 26 33 38

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABxpZHvU66HQ37CJ3SqZhRGkx34H2t%2BPDT0y%2BWqQb6iqcCm0gA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAH9mneUccp%3DJWRHwCndeHGcu-suaM-0%3D2HTi45jxxsHjVr8SXQ%40mail.gmail.com.

No comments:

Post a Comment