diff --git a/test/webscan/demo.html b/test/webscan/demo.html
index 6d6899d5..4ff9efc4 100644
--- a/test/webscan/demo.html
+++ b/test/webscan/demo.html
@@ -91,7 +91,7 @@
{
socket.send(JSON.stringify({
'Func':'GetDeviceList',
- 'arg':0
+ 'arg':'0'
}));
}
@@ -99,7 +99,7 @@
{
socket.send(JSON.stringify({
'Func':'SelectDevice',
- 'arg':0
+ 'arg':'0'
}));
}
@@ -107,7 +107,7 @@
{
socket.send(JSON.stringify({
'Func':'SetScanColorType',
- 'arg':3
+ 'arg':'3'
}));
}
@@ -115,7 +115,7 @@
{
socket.send(JSON.stringify({
'Func':'SetDPI',
- 'arg':200
+ 'arg':'200'
}));
}
@@ -123,7 +123,7 @@
{
socket.send(JSON.stringify({
'Func':'SetDuplex',
- 'arg':1
+ 'arg':'1'
}));
}
@@ -131,7 +131,7 @@
{
socket.send(JSON.stringify({
'Func':'SetScanJPGQuality',
- 'arg':60
+ 'arg':'60'
}));
}
@@ -139,7 +139,7 @@
{
socket.send(JSON.stringify({
'Func':'StartScan',
- 'arg':60
+ 'arg':'60'
}));
}