<div id="test" style="position:relative; width:100%; height:200px; background-color:#FF0000;">
</div>
function active_tiptip() {
selectValuesA = { "1": "test 1", "2": "test 2" };
selectValuesB = { "1": "test 1", "2": "test 2" };
selectValuesC = { "1": "test 1", "2": "test 2" };
$('#test')
.append('<form id="form1" name="form1"></form>');
$('#form1')
.attr("action","#") .attr("method","post")
$.each(selectValuesA, function(key, value) {
$('#form1')
.append($("<option></option>")
.attr("value",key)
.text(value));
});
$.each(selectValuesB, function(key, value) {
$('#form1')
.append($("<option></option>")
.attr("value",key)
.text(value));
});
$.each(selectValuesC, function(key, value) {
$('#form1')
.append($("<option></option>")
.attr("value",key)
.text(value));
});
}
[/code]