How to detect a form which is created in javascript? I am unable o detect it. For eg: var frm = document.createElement("form")