我正在开发一个职业页面,其中有可折叠的引导组件,用于显示现在可用的职位。当用户单击每个组件中的“应用”时,我想在模型对话框中显示他/她想要的特定位置的模型。
我想在用户单击特定组件时在模型上显示位置标题,如何使用 jquery 执行此操作。
预先感谢
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<div class="accordion" id="accordionExample">
<div class="card">
<a href="" data-id="Full-stack-developer" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
<div class="card-header" id="headingOne">
<h2 class="mb-0">
<button style="font-size: 18px;" class="btn btn-link" type="button">
Full Stack Developer
</button>
<p style="float: right; font-size: 18px;">Canada, USA</p>
</h2>
</div>
</a>
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordionExample">
<div class="card-body">
<div class="card-block">
<div class="row">
<div class="col-md-12">
<div class="description-box">
<h4>Job Description</h4>
</div>
</div>
<div class="col-md-12">
<div class="description-box">
<h4>Requirements</h4>
<ul style="margin: 10px 0 10px 0px;">
<li style="padding: 8px 0px 8px 0px; color: #000;">Master Degreee</li>
<li style="padding: 8px 0px 8px 0px; color: #000;">Strong Knowldege in Javascript</li>
<li style="padding: 8px 0px 8px 0px; color: #000;">ReactJs and NodeJs</li>
<li style="padding: 8px 0px 8px 0px; color: #000;">MVC Pattern</li>
<li style="padding: 8px 0px 8px 0px; color: #000;">Master Degreee</li>
白板的微信
相关分类