One of the foundations of jQuery is $(document).ready
. But why does Bootstrap 2.0 decide to include JavaScript library calls at the end?
Is there a way to make $(document).ready
function properly while still keeping the js library calls at the very end?
Update: An example that illustrates this issue is $("#id").click()
, which doesn't work if it's not placed inside the .ready
function...