skip to Main Content

How to find a object in array React native

I have array= [{ "2022-12-06": [{ "student": "10", "duration": "00:00:07", "intervals": "1" }] }, { "2022-09-08": [{ "student": "20", "duration": "00:00:07", "intervals": "1" }, { "student": "300", "duration": "00:00:07", "intervals": "1" }, { "student": "10", "duration": "00:00:07", "intervals": "1" }…

VIEW QUESTION

How to create a loop for the following code? – Jquery

I wrote the following code: $("#img1").add("#label1").fadeIn(); $("#img1").click(function() { $(this).attr("src", "/abc/xyz.png"); $("#content1").add("#img2").add("#label2").fadeIn(1000); }); When I click on img2, the image source ishould change and content2 as well as img3 / label3 should be displayed.When I reach img5, just content5 should be…

VIEW QUESTION
Back To Top
Search