Hi Karthi,
If you know the name given to the control in Form Builder, running the following will give you the id of the corresponding element in the DOM, here assuming you're looking for the id of a control named "first-name":
ORBEON.jQuery('*[id $= "first-name-control"]')[0].id
Note this doesn't return the HTML form element, but typically a container of that element. For an input field, you can get the actual HTML input field with:
ORBEON.jQuery('*[id $= "first-name-control"] input')[0]
Is this inline with what you were looking for?
Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet