I want to call function before document get ready, so is there any method in Jquery to do this?
Just call your function before the document ready statement.