javascript - Getting value from variable causing a extra line -
i need html formatting. using bootstrap build page .if hard code value appears fine pull value variable format becomes bad.
the code :--
<div class="col-md-3 col-sm-6 col-xs-12"> <div class="info-box"> <span class="info-box-icon bg-blue"><i class="fa fa-certificate"></i></span> <div class="info-box-content"> <span class="info-box-text">total</span> <span class="info-box-number"></span> <p id="total"></p> </div><!-- /.info-box-content --> </div><!-- /.info-box --> </div><!-- /.col --> <div class="col-md-3 col-sm-6 col-xs-12"> <div class="info-box"> <span class="info-box-icon bg-green"><i class="fa fa-smile-o"></i></span> <div class="info-box-content"> <span class="info-box-text">authorized</span> <span class="info-box-number">19876</span> </div><!-- /.info-box-content --> </div><!-- /.info-box --> </div><!-- /.col -->
there blank row getting added.
can me on ?
regards.
using coderomeos suggestion able fix .
<span class="info-box-number"><span id="total"></span></span>
Comments
Post a Comment