[jQuery] Dynamically adding select boxes
I am add select boxes to table cells on my page. Each table cell has
select boxes (but different selected value depending on the content).
When you hover of the cell, the text is hidden and the select shows.
When you change the option, the table cells text is changed.
For an example of what I mean:
http://sam.collett.googlepages.com/dynamicselect.html
This works fine in Firefox and Opera, but not IE. I add the select and
options as follows:
.append(document.createElement("select"))
// find select just added and add options
.find("select").each(
function()
{
var option1 = document.createElement("option");
option1.text = "Option 1";
option1.value = "option1";
this.appendChild(option1);
......
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/