Да конечно же есть
<div id="prepay_methods"> <label>Предоплата</label> <br> <table> <tr> <td> <input type="checkbox" id="leter_registered" class="checkbox_prepay_delivery" name="leter_registered"><label for="leter_registered"class="text" >Письмо заказное</label> </td> <td><input type="text" for="leter_registered"name="leter_registered_price"class="input_price_delivery" size="5"><label class="text">грн.</label></td> </tr> <tr> <td> <input type="checkbox" class="checkbox_prepay_delivery"id="express_service"name="express_service"><label for="express_service"class="text">Посылка курьерской службой </label> </td> <td><input type="text" for="express_service"name="express_service_price"class="input_price_delivery" size="5"><label class="text">грн.</label></td> </tr> <tr> <td> <input type="checkbox"class="checkbox_prepay_delivery"id="new_post_prepay"name="new_post_prepay"><label for="new_post_prepay"class="text">Новая Почта (предоплата)</label> </td> <td><input type="text" for="new_post_prepay"name="new_post_prepay_price"class="input_price_delivery" size="5"><label class="text">грн.</label></td> </tr> <tr> <td> <input type="checkbox"class="checkbox_prepay_delivery"id="postal_parcel_valuable"name="postal_parcel_valuable"><label for="postal_parcel_valuable"class="text">Почтовая посылка ценная </label> </td> <td><input type="text" for="postal_parcel_valuable"name="postal parcel_valuable_price"class="input_price_delivery" size="5"><label class="text">грн.</label></td> </tr> <tr> <td> <input type="checkbox"class="checkbox_prepay_delivery"id="pickup"name="pickup"><label for="pickup"class="text">Самовывоз </label> </td> <td><input type="text" for="pickup"name="pickup_price"class="input_price_delivery" size="5"><label class="text">грн.</label></td> </tr> <tr> <td> <input type="checkbox"class="checkbox_prepay_delivery"id="meeting"name="meeting"><label for="meeting"class="text">При встрече</label> </td> <td><input type="text" for="meeting"name="meeting_price"class="input_price_delivery" size="5"><label class="text">грн.</label></td> </tr> <tr> <td> <input type="checkbox"class="checkbox_prepay_delivery"id="postal_parcel"name="postal_parcel"><label for="postal_parcel"class="text">Почтовая посылка</label> </td> <td><input type="text" for="postal_parcel"name="postal_parcel_price"class="input_price_delivery" size="5"><label class="text">грн.</label></td> </tr> <tr> <td> <input type="checkbox" class="checkbox_prepay_delivery"id="leter"name="leter"><label for="leter"class="text">Письмо простое</label> </td> <td><input type="text" for="leter"name="leter_price"class="input_price_delivery" size="5"><label class="text">грн.</label></td></tr> </table> </div><!--prepay_methods--> |
Так работать не будет.
|
imediasun1,
мда ... $('.checkbox_prepay_delivery:checked').each(function(){ var label_check = $(this).next(); var tr = $(this).parents('tr') var input_check = $('input:last',tr); alert([label_check.text(),input_check.val()]) }) |
Спасибо большое, это то что нужно было, спасибо
|
Часовой пояс GMT +3, время: 03:57. |