How to send a value from a js page to a html page


I am a newbie in Electron framework. I am using it with node js, in my project i need to send employee id to edit. But unable to find a way how to send it from a js page to html page in other word how to make ajax call in electron? Can anybody guide me.