How to get document object through window?
<p>the scenario is window is passed as a parameter to a function , and I also need to use the document of the window for searching element in the function. No idea about how to get the document object through $(winObjParamter).winObjParamter is the parameter passed to the function.</p>
