I need to render h:inputText as following html output :
You are able to do what you want without specifying the name attribute. The id attribute is enough. Try the following as per an example:
< h:inputText id="email" ... />
...
$("#email input").click(function (event) {
...
}
instead of
$("#email input[name='email']").click(function (event)
Hope this is what you are looking for :)