Closed wonderfan closed 9 years ago
Use closest method:
jQuery("#id_ikepolicy_id").closest("div.form-group").hide();
Use parent method with selector filter: https://api.jquery.com/parent/
In the meantime, the andSelf and end method should be understood.
Use closest method:
jQuery("#id_ikepolicy_id").closest("div.form-group").hide();