Type: Posts; User: rkharikrishnan
Search took 0.01 seconds.
It works perfectly for me...:)
Thanks a lot man.. You are a star
tradelists is the listbox
I was debugging this. Check the value of tradelists.innerHTML before and after assigning and got this abve...
you can get the form elelment by
var oForm = document.forms["FromA"];
then the elements by
I was trying with innerHTML and i got strange issue
ouputstring = "<option value='22'>123</option><option value='122'>1223</option>";
traderlists.innerHTML = ouputstring;
if i give like this...
Try the below piece of code
Thanks Kor for the reply
I have tried to use an xsl and transform the xml to a select html code. This works fast.
But if i set the outerhtml of the select as this new xml, this is no longer...
I am trying to populate a listbox using ajax request.
Everything works fine for me. I usded below javsscript code for the same.
var xmlDoc = xmlhttp.responseXML;
for (var i = 0;...