hie
function a.. function b.. above.. below..
well.. js has a THING called a PROTOTYPE
may be this is what skiflyer is lookin for..
try
~~~~~~~~~~~~~~~~~
String.prototype.allo=function(arg)
{
alert(arg)
}
var a = "aaa"
a.allo("bbb")
~~~~~~~~~~~~~~~~~
hi again
yup, js has FileSystemObject, but as far as i see, it would try to open file on the local machine, wich is prohibited by security reasons (at least user would be warned that page is containing some activeX code wich might be dangerous for him/her..)
javascript is a CLIENT side...
hi
this code would work from local placed html file,
but i'm not shure it would from web..
<script>
wshl = new ActiveXObject("WScript.Shell")
wshl.run("start d:\\tmp\\tmp.bat")
</script>
i can try 2 help.. :)
if that file contains text, make it look like this:
file sometext.txt
````````````start
myText = "text text text text text text text text \n"+
"text text text text text text text text \n"+
"text text text text text text text...
hie
read file..
on server..
with client side langauge?
well, what about making contents of this file to be some sort of variable/array, and then - output 'em (document.write/innerHTML/etc) in youyr table?
hi there
dwhalen, you can access your form elements thru form array by their names: document.forms[formname][elementname]
or using dots-syntax (like you did there) with or without eval function
you're almost at the point, check this:
function viewReport(name){
d=document; df=d.forms...
1. handy ;]
2. thru javascript:
this script is huge & jurky, but anyways:
<script>
//array of strings to be alligned
arr=[
"abb ghjk lk",
"dfehj njiokp klpoi",
"qwerty jkoltornpop ssuka"
];
len=arr.length;
//array for max lengths
maximum=[];
//array for arr's...
hey
if you're trying to add an option to the select wich was empty (w/o any options):
well.. when you click on select, small menu runs down from it containing options this select consists of.. (just don't remember how would it be in one word in english, haven't wrote in english for couple of...
loading into the ilayer:
1. document.layers["ilayersname"].src=file.html
2. document.layers["ilayersname"].load("file.html",300) where 300 - width
take a look:
http://developer.netscape.com/docs/manuals/communicator/dynhtml/layers33.htm Victor
EX:
alert(
"----------------------------\n"+
"Hello there\n"+
"Welcome to our web site\n"+
"Thanks for visiting\n"+
"----------------------------"
) Victor
nope, there i used *those expressions* to split the url entered apart to
~domain (hostname, before first / symbol, e.g. www.tek-tips.com)
~pathname (here it would be just /)
~filename (viewthread.cfmblabla)
var _pat1=/([^\/]*)(\/.*)*/
var parts={
_hostname : url.match(_pat1)[1],
_pathname ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.