diff --git a/themes/demo/pages/ajax.htm b/themes/demo/pages/ajax.htm index 55ef65201..8a28ee3c8 100644 --- a/themes/demo/pages/ajax.htm +++ b/themes/demo/pages/ajax.htm @@ -5,9 +5,9 @@ layout = "default" function onTest() { - $value1 = post('value1'); - $value2 = post('value2'); - $operation = post('operation'); + $value1 = input('value1'); + $value2 = input('value2'); + $operation = input('operation'); switch ($operation) { case '+' :