?
Solved

folder structure

Posted on 2014-04-07
7
Medium Priority
?
125 Views
Last Modified: 2014-04-08
Hi There,

I need to create folder structure like this
 folderA
  folderAA
    file1
    file2
 folderB
  folderBB
    file1
    file2

etc..



Can you please give any idea, I'm new in Java scripting

Thanks
0
Comment
Question by:adnankh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 25

Expert Comment

by:Lee Savidge
ID: 39982835
You won't be able to create folders on the server using javascript as it is a clientside scripting language. You will also not be able to create folders clientside as this would be a massive securty flaw.

To create folders serverside would require a serverside language to do it. You won't be able to do it clientside.
0
 
LVL 53

Expert Comment

by:Scott Fell, EE MVE
ID: 39982845
Are you talking about just starting out?  Or on the fly as Lee is suggesting?  

Obviously you could simply ftp folders in that order or create on the server.  But unless you are  using serverside js, you do need to use a serverside language like asp, php etc.
0
 

Author Comment

by:adnankh
ID: 39984706
Hi Gurus,

I might did not explain properly, I've attached a file.. this is something I want to use in our Cognos Report .. and Only I can get this through javascript.
So if you have any code to share or guide would be great.

Regards,
folder-tree.png
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 53

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 800 total points
ID: 39984717
Gotcha!  You want to use a client side tree

http://www.jstree.com/
https://code.google.com/p/dynatree/
0
 

Author Comment

by:adnankh
ID: 39984736
Hi Gurus,

please have a look this attachement this is something I need for my Cognos Portal page.
Because I think here JavaScript & JQuery required to get this, due to my lack of expertise I'm bit stuggling here..

Regards,
folder-tree-final.png
0
 
LVL 25

Accepted Solution

by:
Lee Savidge earned 1200 total points
ID: 39985383
0
 

Author Comment

by:adnankh
ID: 39987426
Thank you all!
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question