Folder Browser In Javascript
Dec 15, 2005Is it possible to have a folder browse option in javascript on button click
View 3 RepliesIs it possible to have a folder browse option in javascript on button click
View 3 RepliesI'd like to call windows folder browse from jQuery... Or is there a plugin that could work similar with .dialog()'s API?
View 1 Replies View Relatedi'd like to find a javascript that can specify the foldername a page
finds itself within.
i'm not a Javascript expert, but i know this can be done by saving the
full URL into a string, then using a decrementing array to locate the
foldername within the URL.
is there a better way in javascript? does anyone know where i can find
a currently working script i might look at?
I am trying to hide my JavaScript source. The method I chose was to
keep all the important source in a password protected folder, and then
use a SRC="folder/script.js" to include it in my code. This way, the
script will run, but the user will be unable to view the included
code. Or so I think :).
I have tried this method, and it seems to work. However, I would like
to know if you can see any problems with this. For instance, can you
think of a way to bypass this and get at script.js? Can you foresee
any problems that would arise as a result of keeping scripts behind
password protected folders? Any other security concerns?
using ajax/javascrtipt, how to browse for a folder and get *.xml files in the given folder path.??
View 2 Replies View RelatedOriginally I had the following code. What it does is for a user to type the folder name of their choice and then after clicking submit a window will pop open and they will be taken to "C:folder" (assuming the user typed "folder" and such a folder existed). Here is the code in case I wasn't clear.
<html>
<head>
<script type="text/javascript">
[code]....
<input type="file"> only allows the user to browse for files.
How about "browse for folder" dialog? Can html/javascript do that? I
couldn't find any syntax for that....
I have some html code i would like to be printed to the page only if the
browser has javascript enabled. I have tried to use document.writeln()
but the string i want to print bot contains some ' and " in it. I don't
know how to set the delimiters of the string that is passed as argument
so that i don't get an error in the page.
Just wondering if anybody can recommend the best JavaScript based DOM
browser / inspector?
I search for a way in javascript to prevent browser from caching my
HTML page in its "history" and "temporary files" if there is any .
I want the list of browser which is not supporting Java Script.
So far I am thinking only JavaScript is the standard scripting language
supports in most the browser. Is any scripting language supports in all
browsers.
In my course on website design we just started some JavaScript. In the very first assignment nothing shows in my browser. I have two questions:
Is there a way to get it to show in my browser so I can complete the assignment?
Is JavaScript widely unviewable? Here is the script I used:
<script language="JavaScript">
<!Hide from non-JavaScript browsers
document.write("Today is 12/15/2003<br>");
document.write("Only 10 days until Christmas");
//Stop hiding -->
</script>
how do i know if a browser supports javascript or not ? I implemented some javascript on my site, but noticed that some browsers do not support our scripts. i am using IE 5.0 now on another system, and it doesnt seem to work.
View 7 Replies View RelatedI am simply trying to set a field value on a form.
e.g. document.form1.stockLevel.value = 99;
This works on all browsers PC & Mac, with the exception of Safari browser on a MAC.
Tried all alternatives:
document.all.stockLevel.value = 99;
document.forms['form1'].stocklevel.value = 99;
.......etc etc
None of these work on the damn safari browser.
Anyone any ideas?
I've been playing with some javascript code and have produced a very
rough proof of concept source code editor written in javascript (a bit
like FCKeditor). Its not ready for release ((L)GPL>2 when it is) but I
thought I'd ask for any guidance and tips.
The intention is to provide a language nuetral source code editor
writen purely in html and javascript so that it can provide code
highlighting/completion etc, eventually as part of an ajax(ish) IDE so
with fckeditor you can manage web sites completely remotely.
There is a temptation to try and use mozilla/venkman but I'd like it to
run on small handhelds too so I will stick to writing it in pure
Javascript/Html.
The intial plan is to produce a javascript editor and then a stylesheet
editor (using the CSS editor on Firefox may make this a low priority)
but I'd like it to be configurable for any language so almost any
coding can be done over the web.
Anybody know any examples of similar that I could plagiarise to get the
basic architecture right?
I have some very strange problem on the Mac (OS-X) with the Safari
browser 1.0 (v85). Some information in my form was not filled in...
after I turned on debugging and checked the console it displayed some
error messages.
The messages displayed were like:
(event handler): value undefined (result of expression trim) is not
object. Cannot be called.
I have no idea what this means!!! Does anyone know where to find the
solution for this problem? The page works fine on Windows with IE (and
probably some more browsers).
The trim function is located in an exteral javascript file which is
referenced in the head of the html. Code:
I have to access a website which does a stupid browser check and only
accepts Netscape 4.7. The problem is that I have to access the website with
Mozilla or Internet Explorer. Code:
Now, I am not talking about some kind of malicious coding, or spyware writing by any means, but I do need it to be able to read the cookies from a site other than my own. At least I think this is what is required. What I am trying to accomplish is this; I have a stats package setup on a different domain than my live website and I am using it to track the stats of the users on my site other than paying for stats service through some other company, and it seems to be working just as I need it to, only I would like for it to be able to do a little bit more. Right now, all it is capturing form the user is their IP address, browser information and host information on their ISP. But, I would like for it to be able do more. I would like for it to be able to retrieve certain cookies generated by a different site and show me the information in which the cookies hold... I am not talking about displaying passwords or any such thing like that, I just need certain information.
View 1 Replies View RelatedIs there a way to detect with javascript the height and width of a browser window that's open? Much the opposite of a pop-up where you define the height and width I guess you could say - anyone know if this is easily possible?
View 2 Replies View RelatedIs it possible to write in js that will close a browser after 1 or 2 minute automatically ?ca any one give a example .
View 3 Replies View RelatedI am currently working on an internal browser based application for my company and I would like to remove the toolbar from the Browser window.
The JSP screens have a typical header, body and footer structure. I have tried putting in a javascript in the header that blocks the back button but it seems to only work on some of the screens. What I would like to do is just remove the whole toolbar tp prevent anymore problems. Unfortunately the Users want keep the address bar and they do not want to have the application pop-up in a new window after they login.
Is there any way that I can have the toolbar disappear after the User logs in and goes to the next screen?
I'm looking for a JavaScript that does not only detects wheather the visitor uses Netscape or IExplorer, but also which version.
I would like to use one style.css for Netscape 6.x and IE 5 and up, and an alternative_style.css for Netscape 4.x.
Simple JavaScript code for browser detection:
/**
* Browser detection
* @Created-On 2007-11-27 23:46:51
*/
function detectBrowser(){
if(navigator.userAgent.indexOf("Opera")!=-1){
return "Opera";
}else if(navigator.userAgent.indexOf("MSIE")!=-1){
return "MSIE";
}else if(navigator.userAgent.indexOf("Navigator")!=-1){
return "Netscape";
}else if(navigator.userAgent.indexOf("Firefox")!=-1){
return "Firefox";
}else if(navigator.userAgent.indexOf("Safari")!=-1){
return "Safari";
}
}
Is there a resource on the internet to tell me which javascript can
work with which browser.
For instance, can I use style.color with all browsers - that kind of
thing.
I'm building the "Contact Us" section of my .mobi site (xhtml and
html).Is there any way to create an e-mail form that use the mini-browser
built-in mailer? (Perhaps a javascript code to add ?)
I have seen this employed somewhere else, but for the life of me cannot remember how it was done. I need to write a javascript that will call a desired CSS file based on the user's browser.
View 3 Replies View Related