Leave HTML and JQuery behind, use a plain vanilla Mendix page and add a Button. For the caption use {1} and get the contents from an attribute. Call a microflow to store data.
Hi Haressh,
Still I am not sure about your requirement, but put your button inside the dataview and onclick of button call the nanoflow get the parmeter of dataview in that nanoflow and put your js function in javascript action provided by mendix with parameter in nanoflow and pass your parameter there.
Hope it helps!