displaying adirectory tree structure where the path is specified

can any one tell how to display directory tree structure for the path specified, and using javascript and jquery.