Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.each($('.template-properties'), function(k,v){
- var index = k+1;
- var tabbing = $('.tabbing-'+ index);
- var properti = $('.properties-div-'+ index);
- if(tabbing.length > 0) {
- $.each(tabbing, function (kt, vt) {
- var id = $(vt).attr('id');
- var select = $('#'+id+' select');
- $.each(select, function (kk, vv) {
- var ids = $(vv).attr('id');
- var split = ids.split('properties');
- var select_id = '#properties'+ split[1];
- var input_id = '#valuelayout'+ split[1];
- console.log('select', $(select_id).val());
- console.log('input', $(input_id).val());
- });
- });
- }else{
- if(properti.length > 0){
- $.each(properti, function (kp, vp) {
- console.log('properti', kp, vp);
- });
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment