發表文章

目前顯示的是 11月 18, 2018的文章

Condition to display the modal bootstrap

圖片
up vote 0 down vote favorite How can I, if I not fill the line in "origin" or "destination" input, and after I click the "Book" button, the modal won't display and it's will show other modal that require me to fill it. At me, when I not fill the contain in the input, it's still show that I can book. And not tell me to fill it. So How can I to do it. Thanks. https://i.imgur.com/undefined.png <div class="containermap"> <div class="column"> <div class="col-md-6"> <form id="distance_form"> <div class="form-group"><label>Origin: </label> <input class="form-control" id="from_places" placeholder="Enter a location" /> <input id=...