add: $("#datesel > :first-child").attr("selected", ""); 
context: function doAddWithDate(evt) {    var tid = testIdFromElement(this);    var dialogOpen = (gSeriesDialogShownForTestId != -1);    var t = findTestById(tid);    if (t == null) {        alert("Couldn't find a test with ID " + tid + " -- what happened?");        return;    }    if (dialogOpen) {    }    var datesel = $("#datesel");    datesel.empty();    var allDateTests = gSeriesTestList[makeSeriesTestKey(t)];    // these are sorted by ascending date, but we really want the    // newest on top    for (var i = allDateTests.length - 1; i >= 0; --i) {        var d = allDateTests[i];        datesel.append("<option value='" + d.tid + "' " + (i == allDateTests.length-1 ? "selected='true'" : "") + ">" + formatTime(d.date) + "</option>");    }    if (dialogOpen) {        $("#availabletests #testid" + gSeriesDialogShownForTestId + " td").removeClass("dateselshown");        $("#seriesdialog").animate({ left: evt.pageX, top: evt.pageY }, 'fast');    } else {        $("#seriesdialog")[0].style.left = evt.pageX;        $("#seriesdialog")[0].style.top = evt.pageY;        $("#seriesdialog").show('fast');    }    $("#availabletests #testid" + tid + " td").addClass("dateselshown");    gSeriesDialogShownForTestId = tid;}
meta: 2092	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2092/9765831d0560f875df0a1eb97c0d03bd432119a9/graph-2.js/buggy/js/graph-2.js