Append the DataBase value to Tabular Form Select List
Description: Ajax(Application Process) used to Get the value from Database Return value as node and attribute. Example : l_Opt_Xml.firstChild.nodeValue and l_Opt_Xml.getAttribute(‘value’). Create the Element of OPTION Example : var l_Opt = document.createElement(“option”); Add the OPTION to Target Select List and Append the OPTION to Target Select List Example : pSelect.options.add(l_Opt); pSelect.appendChild(l_Opt); Insert the select list content to OPTION and Append the select list content to OPTION Example : l_Opt.innerText = pContent; l_Opt.appendChild(document.createTextNode(pContent)); Summary; This…
Read More