<Select name="UserID" id="UserIDs" class="seluserval"> <c:forEach items="${result.rows}" var="st"> <option value="1"><c:out value="${st.USER_ID}"/></option> </c:forEach> </select>
var main = function() { $('#UserIDs').on('change',function(){ var selUser = $('#UserIDs :selected').text(); $('#selecteduservalue').val(selUser); }); }; $(document).ready(main);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)