2
2
< meta charset ="utf-8 ">
3
3
< html >
4
4
< head >
5
- < script id ="TEST-erjs " type ="text/javascript ">
5
+ <!-- script id="TEST-erjs" type="text/javascript">
6
6
window.onload = function(){
7
7
getCustomizeActionData();
8
8
}
15
15
}
16
16
console.log("qevent: "+temp_qevent);
17
17
}
18
- </ script >
18
+ </script-- >
19
19
< script id ="etu-recommender " type ="text/javascript ">
20
20
var erHostname = '210.63.38.209' ;
21
21
var erUrlPrefix = '210.63.38.209' ; //for local test
22
22
var _qevents = _qevents || [ ] ;
23
23
24
24
_qevents . push ( {
25
25
cid : document . getElementById ( "dcid" ) . value ,
26
+ uid : document . getElementById ( "duid" ) . value ,
26
27
act : document . getElementById ( "dact" ) . value ,
27
28
pid : document . getElementById ( "dpid" ) . value ,
28
29
cat : document . getElementById ( "dcat" ) . value ,
33
34
unit_price : document . getElementById ( "dunit_price" ) . value ,
34
35
pcat : document . getElementById ( "dpcat" ) . value ,
35
36
pmk : document . getElementById ( "dpmk" ) . value ,
36
- } ]
37
+ } ] ,
38
+ ercamp : document . getElementById ( "dercamp" ) . value ,
39
+ erad : document . getElementById ( "derad" ) . value ,
37
40
} ) ;
38
41
39
42
var erUrlPrefix = ( 'https:' == document . location . protocol ?'https://' :'http://' ) + erHostname + '/' ;
40
43
41
44
function ERsend ( ) {
42
45
_qevents = [ ] ;
43
46
_qevents . push ( {
44
- cid : document . getElementById ( "dcid" ) . value ,
45
- act : document . getElementById ( "dact" ) . value ,
46
- pid : document . getElementById ( "dpid" ) . value ,
47
- cat : document . getElementById ( "dcat" ) . value ,
47
+ cid : document . getElementById ( "acid" ) . value ,
48
+ uid : document . getElementById ( "auid" ) . value ,
49
+ act : document . getElementById ( "aact" ) . value ,
50
+ pid : document . getElementById ( "apid" ) . value ,
51
+ cat : document . getElementById ( "acat" ) . value ,
48
52
ptuple : [
49
53
{
50
- paypid : document . getElementById ( "dpaypid" ) . value ,
51
- qty : document . getElementById ( "dqty" ) . value ,
52
- unit_price : document . getElementById ( "dunit_price" ) . value ,
53
- pcat : document . getElementById ( "dpcat" ) . value ,
54
- pmk : document . getElementById ( "dpmk" ) . value ,
55
- } ]
54
+ paypid : document . getElementById ( "apaypid" ) . value ,
55
+ qty : document . getElementById ( "aqty" ) . value ,
56
+ unit_price : document . getElementById ( "aunit_price" ) . value ,
57
+ pcat : document . getElementById ( "apcat" ) . value ,
58
+ pmk : document . getElementById ( "apmk" ) . value ,
59
+ } ] ,
60
+ ercamp : document . getElementById ( "aercamp" ) . value ,
61
+ erad : document . getElementById ( "aerad" ) . value ,
56
62
} ) ;
57
63
58
64
_qquery1 = [ ] ;
@@ -94,7 +100,7 @@ <h1>er.js testing EC site</h1>
94
100
< div id = "setDefault ">
95
101
< legend > default </ legend >
96
102
< label > fill </ label >
97
- < input class = "custom -action " type = "text " id = "dcid " placeholder = "cid " value = "saas_testing_ec "/> < br >
103
+ < input class = "default -action " type = "text " id = "dcid " placeholder = "cid " value = "saas_testing_ec "/> < br >
98
104
< label > fill </ label >
99
105
< input class = "default-action " type = "text " id = "duid " placeholder = "uid " value = "testbot "/> < br >
100
106
< label > fill </ label >
@@ -104,19 +110,15 @@ <h1>er.js testing EC site</h1>
104
110
< label > fill </ label >
105
111
< input class = "default-action " type = "text " id = "dpid " placeholder = "pid " value = "test "/> < br >
106
112
< label > fill </ label >
107
- < input class = "default-action " type = "text " id = "deruid " placeholder = "eruid " value = ""/> < br >
108
- < label > fill </ label >
109
113
< input class = "default-action " type = "text " id = "dpcat " placeholder = "pcat " value = ""/> < br >
110
114
< label > fill </ label >
111
115
< input class = "default-action " type = "text " id = "dpaypid " placeholder = "paypid " value = ""/> < br >
112
116
< label > fill </ label >
113
- < input class = "default-action " type = "text " id = "dqty " placeholder = "qty " value = ""/> < br >
114
- < label > fill </ label >
115
117
< input class = "default-action " type = "text " id = "dunit_price " placeholder = "unit_price " value = ""/> < br >
116
118
< label > fill </ label >
117
- < input class = "default-action " type = "text " id = "doid " placeholder = "oid " value = ""/> < br >
119
+ < input class = "default-action " type = "text " id = "dpmk " placeholder = "pmk " value = ""/> < br >
118
120
< label > fill </ label >
119
- < input class = "default-action " type = "text " id = "damt " placeholder = "amt " value = ""/> < br >
121
+ < input class = "default-action " type = "text " id = "dqty " placeholder = "qty " value = ""/> < br >
120
122
< label > fill </ label >
121
123
< input class = "default-action " type = "text " id = "dercamp " placeholder = "ercamp " value = ""/> < br >
122
124
< label > fill </ label >
@@ -139,25 +141,21 @@ <h1>er.js testing EC site</h1>
139
141
< label > fill </ label >
140
142
< input class = "custom-action " type = "text " id = "apid " placeholder = "pid " value = ""/> < br >
141
143
< label > fill </ label >
142
- < input class = "custom-action " type = "text " id = "aeruid " placeholder = "eruid " value = ""/> < br >
143
- < label > fill </ label >
144
144
< input class = "custom-action " type = "text " id = "apcat " placeholder = "pcat " value = ""/> < br >
145
145
< label > fill </ label >
146
146
< input class = "custom-action " type = "text " id = "apaypid " placeholder = "paypid " value = ""/> < br >
147
147
< label > fill </ label >
148
- < input class = "custom-action " type = "text " id = "aqty " placeholder = "qty " value = ""/> < br >
149
- < label > fill </ label >
150
148
< input class = "custom-action " type = "text " id = "aunit_price " placeholder = "unit_price " value = ""/> < br >
151
149
< label > fill </ label >
152
- < input class = "custom-action " type = "text " id = "aoid " placeholder = "oid " value = ""/> < br >
150
+ < input class = "custom-action " type = "text " id = "apmk " placeholder = "pmk " value = ""/> < br >
153
151
< label > fill </ label >
154
- < input class = "custom-action " type = "text " id = "aamt " placeholder = "amt " value = ""/> < br >
152
+ < input class = "custom-action " type = "text " id = "aqty " placeholder = "qty " value = ""/> < br >
155
153
< label > fill </ label >
156
154
< input class = "custom-action " type = "text " id = "aercamp " placeholder = "ercamp " value = ""/> < br >
157
155
< label > fill </ label >
158
156
< input class = "custom-action " type = "text " id = "aerad " placeholder = "erad " value = ""/> < br >
159
157
160
- < button type ="submit " formid =" setDefault " formaction ="register.html "> 送出資料 </ button >
158
+ < button type ="submit " class = " custom-action " id =" custom-click " formaction ="register.html "> 送出資料 </ button >
161
159
</ div >
162
160
</ body >
163
161
</ html >
0 commit comments