Using JQuery to generate Table of Content

Using JQuery to generate Table of Content (TOC ) ,with css location .