html - Modal popup will not display content -


one of modals not work inside of cshtml page. of others work fine, if cliick on 1 background changes, no content shows. trying modal show correctly.

here cshtml modal:

<div id="add_client_1" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="add_client_label" style="display: none;">     <div class="modal-dialog" role="document">         <div class="modal-content">             <div class="modal-header popupcontainerheader">                 <p>add new client</p>             </div>             <div class="modal-body popupcontainerdetail">                 <input type="hidden" id="clientid" name="clientid" value="1" />                      <div id="partialcolumn1" class="col-md-6">                          <div class="field padding-left-40">                             <label>first name:</label>                             <input class="form-control" id="add_client_firstname-1" name="add_client_firstname-1" type="text" value="[first name goes here ]">                         </div>                          <div class="field padding-left-40">                             <label>last name:</label>                             <input id="add_client_lastname-1" name="add_client_lastname-1" type="text" value="[last name goes here ]">                         </div>                          <div class="field padding-left-40">                             <label>middle initial:</label>                             <input id="add_client_middleinitial-1" name="add_client_middleinitial-1" type="text" value="[ middle initial goes here ]">                         </div>                          <div class="field padding-left-40">                             <label>social security number:</label>                             <input id="add_client_ssn-1" name="add_client_ssn-1" type="text" value="[ ssn goes here ]">                         </div>                          <div class="field padding-left-40">                             <label>gender:</label>                             <input id="add_client_gender-1" name="add_client_gender-1" type="text" value="[ gender goes here ]">                         </div>                          <div class="field padding-left-40">                             <label>date of birth:</label>                             <input id="add_client_birthdate-1" name="add_client_birthdate-1" type="date" placeholder="mm-dd-yyyy">                         </div>                          <div class="field padding-left-40">                             <label>address:</label>                             <input id="add_client_address-1" name="add_client_address-1" type="text" value="[ street address goes here ]">                         </div>                          <div class="field padding-left-40">                             <label>city:</label>                             <input id="add_client_city-1" name="add_client_city-1" type="text" value="[ city goes here ]">                         </div>                          <div class="field padding-left-40">                             <label>state:</label>                             <input id="add_client_state-1" name="add_client_state-1" type="text" value="[ state goes here ]">                         </div>                          <div class="field padding-left-40">                             <label>zip:</label>                             <input id="add_client_zip-1" name="add_client_zip-1" type="text" value="[ zip code goes here ]">                         </div>                      </div>                     <div id="partialcolumn2" class="col-md-6">                         <div class="field">                             <label>referral date:</label>                             <input id="add_client_referraldate-1" name="add_client_referraldate-1" type="date" placeholder="mm-dd-yyyy" />                         </div>                          <div class="field">                             <label>referred by:</label>                             <input id="add_client_refferedby-1" name="add_client_refferedby-1" type="text" value="[ referral goes here ]">                         </div>                          <div class="field">                             <label>intake date:</label>                             <input id="add_client_intakedate-1" name="add_client_intakedate-1" type="date" placeholder="mm-dd-yyyy" />                         </div>                          <div class="field">                             <label>discharge date:</label>                             <input id="add_client_dischargedate-1" name="add_client_dischargedate-1" type="date" placeholder="mm-dd-yyyy" />                         </div>                          <div class="field">                             <label>reason discharge:</label>                             <input id="add_client_dischargereason-1" name="add_client_dischargereason-1" type="text" value="[ discharge reason goes here ]" />                         </div>                          <div class="field">                             <label>picture:</label>                             <input id="add_client_picture-1" name="add_client_picture-1" type="file" accept=".jpg, .png" />                         </div>                     </div>                    <div class="modal-footer">                     <span id="add_client_errorpanel-1" class="error" style="text-align: left; float: left; max-width: 50%;"></span>                     <button id="add_client_savebutton-1" type="button" class="btn btn-primary" onclick="alert('need js parsing , saving');">save</button>                     <button type="button" class="btn btn-default" data-dismiss="modal">don't save</button>                 </div>             </div>         </div>     </div> </div> 

and here cshtml supposed open modal:

<div id="clienttoolbar">             <button id="clientbutton_addclient-1" type="button" class="btn btn-sm" data-toggle="modal" data-target="#add_client_1"><span class="glyphicon glyphicon-plus"></span> client...</button>             @html.partial("add_client")             <div id="clienttoolbarbuttoncontainer">                 <button class="btn btn-default"> <span class="glyphicon glyphicon-file"></span></button>                 <span class="glyphicon glyphicon-folder-close"></span>                 <span class="glyphicon glyphicon-remove"></span>             </div>         </div> 


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -