Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: baad
  • Order by date
  1. baad

    is there a way to use prototypes

    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") ~~~~~~~~~~~~~~~~~
  2. baad

    include a .js in a .js ??? Vituz

    Happy New Year guyz 'n girlz, but i would turn the notification off :)
  3. baad

    Read File in JAvascript

    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...
  4. baad

    Need to run Batch file on local machine from Web..

    hi this code would work from local placed html file, but i'm not shure it would from web.. <script> wshl = new ActiveXObject(&quot;WScript.Shell&quot;) wshl.run(&quot;start d:\\tmp\\tmp.bat&quot;) </script>
  5. baad

    Read File in JAvascript

    i can try 2 help.. :) if that file contains text, make it look like this: file sometext.txt ````````````start myText = &quot;text text text text text text text text \n&quot;+ &quot;text text text text text text text text \n&quot;+ &quot;text text text text text text text...
  6. baad

    Read File in JAvascript

    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?
  7. baad

    Checking For Image with the Focus

    hie >>if(document.frmName.imageName1.Focus = &quot;True&quot;) should be imageName1.Focus == &quot;True&quot;) .. i guess.. :)
  8. baad

    close window without message

    nice :)
  9. baad

    Referring to the name of a form element with a variable

    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...
  10. baad

    How can you align colums in a mutiple select box?

    1. handy ;] 2. thru javascript: this script is huge & jurky, but anyways: <script> //array of strings to be alligned arr=[ &quot;abb ghjk lk&quot;, &quot;dfehj njiokp klpoi&quot;, &quot;qwerty jkoltornpop ssuka&quot; ]; len=arr.length; //array for max lengths maximum=[]; //array for arr's...
  11. baad

    Single Select Netscape 4x

    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...
  12. baad

    Need to give user feedback while in a loop

    hie try for (...) { //.. do some work ... completemsg += (&quot;.&quot;); document.forms.choice.OutputArea.value = completemsg; }
  13. baad

    clear text with onfocus?

    onfocus=&quot;this.value=''&quot; ?
  14. baad

    IFRAME

    loading into the ilayer: 1. document.layers[&quot;ilayersname&quot;].src=file.html 2. document.layers[&quot;ilayersname&quot;].load(&quot;file.html&quot;,300) where 300 - width take a look: http://developer.netscape.com/docs/manuals/communicator/dynhtml/layers33.htm Victor
  15. baad

    document.forms.form.submit();

    why so? try <form name=&quot;okay3&quot; onsubmit=&quot;return forceEntry()&quot;> Victor
  16. baad

    Alert message in two line..

    EX: alert( &quot;----------------------------\n&quot;+ &quot;Hello there\n&quot;+ &quot;Welcome to our web site\n&quot;+ &quot;Thanks for visiting\n&quot;+ &quot;----------------------------&quot; ) Victor
  17. baad

    Inserting word

    suppose you already have those filenames in an array.. foreach $ff (@files){ open(FF,$ff); chomp(@content=<FF>); close(FF); foreach $str (@content){ $str =~ s/<meta\s+name\=\&quot;/<meta\s+name\=\&quot;area\./gi } open(FF,&quot;>$ff&quot;); foreach (@content){ print FF $_; } close(FF); } or...
  18. baad

    NS &amp; getting the value of a &lt;select&gt;

    amen :) Victor
  19. baad

    getting index.html from href

    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 ...
  20. baad

    sendmail &amp; perl

    try to use Reply-To field don't remember the exact syntax, just remember that there is such a field.. Victor

Part and Inventory Search

Back
Top