Fire Click Event Automatically In Javascript, The click handler that you are trying to trigger is most likely also attached via $(document).