How to remove div completely in jQuery?

Which part of jquery.js file I need to remove ?

  • I am new to jquery & If I use jquery for only hide and show operations, do I need to include whole jquery.js file ? Please state clearly which part of file I need to include?

  • Answer:

    jQuery's current version (1.3.2) of a JavaScript Library is under 56-KB in size, so there does not seem to be a need to remove portions of it to make it more compact. You are better off just leaving it the way it is and using it that way. But if you downloaded the Development version, which is around 120-KB in size, then I can understand the need to take out what you are not using. But if this is the case, you really should not be using the Development version. It is better that you use the standard Production version just as it is: http://jquery.com/ .

Nahee_En... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.