
you can use this code in the following cases:
1) if you want to save data on submitting form then,
replace onchange=“getSummary2(‘order’)” with onclick=“getSummary2(‘order’)”
2) if you want to save on key up then,
replace onchange=“getSummary2(‘order’)” with onKeyUp=“getSummary2(‘order’)”
3) if you want to save data on change then use the code as it is
---------------------------------------------html code-------------------------------------------------
...