javascript - Retrieve data table cell values to select option box -


I am trying to retrieve the data table cell value for input and select the option box. Values ​​are displayed in the input box but this option fails to display in the selection box.

  $ ("# txt_userName"). Val (table.cell ('.row-modified', 3). Info ()); $ ("# Dd_Country") select2 ("val", table.cell ('line-modified', 2) .data ()); Selections do not have the value property You can find the matching option element below the selection and click < Code> Selected  property is required to set up (while  selected  is not set to ensure all other options). 


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

asp.net mvc - How to attach sql database to a javascript graph -

c# - How to know the number of Threads created and limit the Tasks accordingly -