נסה את הקוד הבא let idsArray = //emptry array (can't write it here for some reason); jQuery('#monDay > p').each(function() { idsArray.push(this.id); });
|
או את הקוד הבא
let idsArray = //emptry array (can't write it here for some reason); jQuery('#monDay').children().each(function() { idsArray.push(this.id); });
|