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

mysql - How to enter php data into a html multiple select box -

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

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -