jQuery performance and data load

jQuery performance and data load

I am using spservices and datatables in Sharepoint. I was looking for advice. 

I am having form in one div and in another div I am datatables data. I will hide and show div as per the logic. 

Now my question is doing hide div will still keep data in the div and make my page heavy or it will get data when I make my div to show.