-1
我想刪除第三級div內的所有文本框的特定css類。刪除jquery中的多級div內的所有文本框的css類
<div class="panel panel-default" id="pnlChangeLoginInfo">
<div class="panel-heading">Change Login Information</div>
<div class="panel-body">
<div class="row"> </div>
<div class="row">
<div class="col-md-5">Current Password:</div>
<div class="col-md-7"><input class="form-control" id="txtCurPassword" name="txtCurPassword" type="password" />
<input class="form-control" id="hidCurPassword" name="Contact_Model.Password" type="hidden" value="irecadmin01" /></div>
</div>
<div class="row"> </div>
<div class="row">
<div class="col-md-5">New Password:</div>
<div class="col-md-7"><input class="form-control" id="txtNewPassword" name="txtNewPassword" type="password" /></div>
</div>
<div class="row"> </div>
<div class="row">
<div class="col-md-5">Repeat Password:</div>
<div class="col-md-7"><input class="form-control" id="txtRepPassword" name="txtRepPassword" type="password" /></div>
</div>
<div class="row"> </div>
<div class="row">
<div class="col-md-5">Login Email Address:</div>
<div class="col-md-7"><input class="form-control" id="txtLoginEmail" name="Contact_Model.EmailAddress" type="text" value="[email protected]" /></div>
</div>
<div class="row"> </div>
</div>
</div>
在這個網站我怎麼能基於DIV ID刪除CSS類「形式控制」的所有文本框的「pnlChangeLoginInfo」
歡迎來到堆棧溢出。在請求其他人這樣做之前,請解決這個問題。 – pquest 2014-10-08 18:23:16