I was browsing for examples for my page and ran across a weird JQuery selector. Can any of you explain how does it work, and can I use it to select ID's in HTML which have unique indexing.
//The selector which I don't know how it works
//what is "^" exactly for?
"div[id^='myModal']"
//How Jquery for me dyanimcally creates HTML with Array elements and indexes ID's
id=\"Modals_" +index+ "\"