File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 < link href ="%%ignite-ui%%/css/structure/infragistics.css " rel ="stylesheet ">
88 < style >
99 # container {
10- width : 60% ;
1110 border : 1px solid # ccc ;
1211 box-sizing : border-box;
1312 padding : 20px ;
1413 }
1514
16- .p {
17- margin-top : 5px ;
18- }
19-
2015 # igDatePickersContainer {
2116 float : left;
2217 }
3429 float : right;
3530 }
3631
37- # ValuesContainer .p {
38- font-size : 16px ;
39- }
40-
41- # container h4 {
42- font-size : 16px ;
43- margin-bottom : 10px ;
44- }
45-
4632 .clearfix : after {
4733 content : "" ;
4834 display : table;
4935 clear : both;
5036 }
5137
52- @media screen and (max-width : 920px ) {
53- # container {
54- width : 70% ;
55- }
56- }
57-
58- @media screen and (max-width : 770px ) {
59- # container {
60- width : 100% ;
61- }
62- }
63-
6438 @media screen and (max-width : 570px ) {
6539 # igDatePickersContainer , # ValuesContainer {
6640 float : none;
10175
10276 < div id ="ValuesContainer ">
10377 < h4 > $$(DatePickers_submited_values):</ h4 >
104- < div class ="divHeight ">
105- < p class ="pStyle " id ="results ">
78+ < div id ="results ">
10679 </ div >
10780 </ div >
10881 </ div >
@@ -130,10 +103,11 @@ <h4>$$(DatePickers_submited_values):</h4>
130103
131104 var headers = $ ( '.group-fields label' ) ;
132105 $ ( "#form" ) . submit ( function ( event ) {
133- var submittedValues = $ ( "#form" ) . serializeArray ( ) ;
134- $ ( ".p" ) . remove ( ) ;
106+ var submittedValues = $ ( this ) . serializeArray ( ) ,
107+ $results = $ ( "#results" ) ;
108+ $results . empty ( ) ;
135109 for ( var i = 0 ; i < submittedValues . length ; i ++ ) {
136- $ ( "# results" ) . append ( "<p class='p'><span class='header'>" + headers [ i ] . textContent + ": " + "</span> <strong>" + submittedValues [ i ] . value + "</strong></p>" ) ;
110+ $results . append ( "<p class='p'><span class='header'>" + headers [ i ] . textContent + ": " + "</span> <strong>" + submittedValues [ i ] . value + "</strong></p>" ) ;
137111 }
138112 return false ;
139113 } ) ;
You can’t perform that action at this time.
0 commit comments