Skip to content

A solution I created that deals with modals that have the same name and id after being created in a loop.

Notifications You must be signed in to change notification settings

issar13/modal-loop-solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Modal loop solution

I was in a predicament when I wanted to manipulate a text box that was inside a modal, looped from database data. Each looped modal were basically initialized with the same id, form call out, so trying to make any changes to it and nothing was sticking. After countless scouring through the internet and various solutions that did not seem to solve my problem I was stuck but with so much information in my hand I came up with this solution, albeit after hours of almost giving up on using looped modals. Check the commments to see how it works.

About

A solution I created that deals with modals that have the same name and id after being created in a loop.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published