Answer the question
In order to leave comments, you need to log in
How to hide/show input by radiobutton for wordpress site with woocommerce?
<p id="billing_gorod_field"><input type="text" class="input-text " name="billing_gorod" id="billing_gorod"></p>
<p id="billing_index_field"><input type="text" class="input-text " name="billing_index" id="billing_index"></p>
<div id="order_review">
<ul>
<li><input type="radio" id="shipping_method_1" class="shipping_method" checked="checked"></li>
<li><input type="radio" id="shipping_method_2" class="shipping_method" checked="checked"></li>
<li><input type="radio" id="shipping_method_3" class="shipping_method" checked="checked"></li>
</ul>
</div>
#billing_index_field, #billing_gorod_field {
display: none;
}
Answer the question
In order to leave comments, you need to log in
Uncaught TypeError: $ is not a function.
jQuery(function($){
//ваш код
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question