Asking for help, clarification, or responding to other answers. When the form is submitted via ajax, the file content is treated like a normal var. So first I put in a variable the selectIndex of my first drop-down. The most commonly used The :link selector is used to select unvisited links. Get select option value using onchange function in jQuery from multiple dynamic record? Try to run the following code to find an element based on a data-attribute value , We make use of First and third party cookies to improve our user experience. All public events are relayed using the jQuery event system, and they are triggered on the <select> element that Select2 is attached to. This event is limited to fields and