Я хочу отобразить первые два поля, то есть garage_quoted_amt и quoted_amt из данного подразделения, поэтому, пожалуйста, помогите мне.Я новичок в JQuery.Я использовал это условие, чтобы показать ниже условие
$("#priceDifference div.row:not(:nth-of-type(3))").show();
, пожалуйста, направьте меня правильно.
<div class="row" id="priceDifference" style="display:none;">
<div class="row">
<div class="col-lg-4 col-xs-1 col-lg-offset-1 form-group">
<label style="padding-top:5px;"> Quoted Price</label>
</div>
<div class="col-xs-4">
<div class="form-group">
<input type="number" name="quoted_amt" id="gobumpr_quoted_amt<?php echo $booking_id; ?>" class="form-control" style="max-width:280px;"/>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-4 col-xs-1 col-lg-offset-1 form-group">
<label style="padding-top:5px;"> Garage Quoted Price</label>
</div>
<div class="col-xs-4">
<div class="form-group">
<input type="number" name="garage_quoted_amt" id="garage_quoted_amt<?php echo $booking_id; ?>" class="form-control" style="max-width:280px;"/>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-4 col-xs-1 col-lg-offset-1 form-group">
<label style="padding-top:5px;"> Local Garage Quote</label>
</div>
<div class="col-xs-4">
<div class="form-group">
<input type="number" name="local_garage_quoted_amt" id="local_garage_quoted_amt<?php echo $booking_id; ?>" class="form-control" style="max-width:280px;"/>
</div>
</div>
</div>
</div>