1) Copy and Past at the top of the body :
2) Call the function inside onclick event :
setInputVal function receives 2 arguments:
i ) id
ii) value
`id` means id attribute of that input tag whose value you want to change.
if is an input, then `abc` will be it's id
`value` means which value you want to set in that input field.
if you want to set `toe` as value of that input, then you've to
pass `toe` as second argument
3) After `onclick` attribute you must replace `href` with `href="javascript:void(0)"` otherwise your
page will be reloaded!