File tree Expand file tree Collapse file tree 2 files changed +63
-0
lines changed
sources/net.sf.j2s.java.core Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ <!-- from http://jsfiddle.net/pjagana/49rk6ph7/ 2018.07.03 -->
5+
6+ < style >
7+ .select-editable {
8+ position : relative;
9+ background-color : white;
10+ border : solid grey 1px ;
11+ width : 120px ;
12+ height : 18px ;
13+ }
14+ .select-editable select {
15+ position : absolute;
16+ top : 0px ;
17+ left : 0px ;
18+ font-size : 14px ;
19+ border : none;
20+ width : 120px ;
21+ margin : 0 ;
22+ }
23+ .select-editable input {
24+ position : absolute;
25+ top : 0px ;
26+ left : 0px ;
27+ width : 100px ;
28+ padding : 1px ;
29+ font-size : 12px ;
30+ border : none;
31+ }
32+ .select-editable select : focus , .select-editable input : focus {
33+ outline : none;
34+ }
35+
36+ </ style >
37+ </ head >
38+ < body >
39+ < div class ="select-editable ">
40+ < select id =selector onchange ="this.nextElementSibling.value=this.value ">
41+ < option style ="height:1px " value =""> </ option >
42+ < option value ="115x175 mm "> 115x175 mm</ option >
43+ < option value ="120x160 mm "> 120x160 mm</ option >
44+ < option value ="120x287 mm "> 120x287 mm</ option >
45+ </ select >
46+ < input type ="text " name ="format " value ="" />
47+ </ div >
48+
49+ < br >
50+ < h3 > Using HTML5 </ h3 >
51+ < input list ="browsers " name ="browser ">
52+ < datalist id ="browsers ">
53+ < option value ="Internet Explorer ">
54+ < option value ="Firefox ">
55+ < option value ="Chrome ">
56+ < option value ="Opera ">
57+ </ datalist >
58+
59+ </ body >
60+ </ html >
61+
62+
63+
You can’t perform that action at this time.
0 commit comments