title: Get ID of current HTML form
body: <p>I am building firefox plugin. I need to fill the html form, loaded on current webpage, with the help of JSON objects. I have a button on toolbar which will load the javascript code containing JSON objects. but how to retrieve IDs of that loaded html form?</p>