Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery('#select2-billing_persontype-container').attr('title').change(function () {
- if ( jQuery('#select2-billing_persontype-container').attr('title') == 'Pessoa física' ) {
- $('#billing_cnpj_field').css('display','none');
- } else {
- $('#billing_cnpj_field').css('display','block');
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement