Workaround for passing parameter to jQuery ready()
<p>I have some code called on jQuery document.ready() which is used in multiple HTML files. Now the difference is each of these HTMLs uses a different div id. 
I know one option is to just check for hardcode div ids inside $(document).ready() . But I wanted to write a generic code which would take the div Ids based on the currrent/calling HTML page?</p>

<p>So is there any way or workaround for passing parameter to jQuery ready() ?</p>
