Bug Tracker

Ticket #3297: test-3297.html

File test-3297.html, 455 bytes (added by dmethvin, 11 years ago)

test case

Line 
1<!DOCTYPE html>
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5<script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
6<script language="javascript">
7$(document).ready(function() {
8
9var sel = $("#ctr_rgn");
10
11$("<option></option>")
12
13.attr("value", 1) .html("Test option") .appendTo(sel);
14
15});
16</script>
17</head>
18<body>
19
20<select id="ctr_rgn">
21</select>
22
23</body>
24</html>