471,108 Members | 1,351 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,108 software developers and data experts.

How to open a folder located in server from client side using javascript

Hi,

In my web application, in one of the screen when the user clicks on one link, it has to open a folder that was located in server in client side.
Mar 16 '09 #1
3 5361
acoder
16,027 Expert Mod 8TB
When you say "open folder", do you mean you want them to be able to view the contents of that folder? Is this supposed to happen without a page reload?
Mar 16 '09 #2
Yes, it should happen with out page reload. Its just like , when i click on a link it should open a folder immediately.
Mar 17 '09 #3
acoder
16,027 Expert Mod 8TB
In that case, use Ajax. Have a look at the following link to get started:
https://developer.mozilla.org/en/AJAX
Basically, you'll need to use some server-side code to open the folder and show whatever needs to be displayed and use JavaScript code to make the request to retrieve it.
Mar 17 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by jcvoon | last post: by
9 posts views Thread by shailaja.sheel | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.