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 TouchToneTommy 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: TommyB44
  • Content: Threads
  • Order by date
  1. TommyB44

    Strings (find, check, replace)

    Hi All, I'd like to check a sentence for an url and if found switch(replace) it to the appropriate HTML To give you more of an idea something like this.. //if the start of the string equals "http" or "www" if(string=='http:'||'www.') //then check the end of the string case 'gif':case...
  2. TommyB44

    Clear *After* Submit ?

    Hi All, the following code is clearing my form before it submits not after how do i fix this ? <iframe src="messages.asp" height="75%" width="100%" frameborder="0" name="view"></iframe> <br> <div align="left"> <FORM name="fsend" METHOD="Post" ACTION="messages.asp" target="view"> <b> Name...
  3. TommyB44

    Split in a Split

    Hi All, So far I have: dim addresses dim a 'List of names and addreses, (#FirstName~LastName~HouseNumber~StreetName~PhoneNumber), more to 'add. addresses="#Stephen~Thomas~61~Rasemary Hill RD~(0121)225888#Mark~Davis~34~Lovatt Close~(07900)321049" a=split(addresses,"#") for i=0 to UBound(a)...
  4. TommyB44

    Additional Hard Drive

    Hello All, I have a hard drive with windows server 2003 O/S on it only i'm running out of space, I was told it's possible to link another hard drive to it, rather then reinstall the whole site on to another (bigger) hard drive, Firstly is this correct ?. If so how do I link the wwwroot to it...
  5. TommyB44

    Else If - Vs - Select Case

    Hi All, I have some code and i'm using Else if to return the result of a possible 190 options. My question is, does anyone know which would run faster, the "else if" or the "select case" or are they the same ?. Thanks for reading.
  6. TommyB44

    Javascript converted to VBScript

    Hi, All I'm looking to convert this javascript to ASP (VBScript) does anyone know the best way to do this? this is the Javascript code that works fine for me, but i'd sooner have ASP(VBscript) do the job. I still need it to write to the div tag only the list in a js file (list.js) var...
  7. TommyB44

    Permission Denied

    Hi All I have this ASP script. <% Dim objFSO, objCountFile Dim iCount Dim I Set objFSO = Server.CreateObject("Scripting.FileSystemObject") Set objCountFile = objFSO.OpenTextFile(Server.MapPath("counter.cnt"), 1, True) If Not objCountFile.AtEndOfStream Then iCount =...
  8. TommyB44

    document.getElementById();

    Hi all does anyone know why the "document.getElementById();" function is giving me problems, i'm pretty sure i've narrowed it down to the "document.getElementById();", using the same browser type on different computers the script shows on one but not on the other. Any ideas why ?, also would i...
  9. TommyB44

    Javascript not displaying

    Hi All, does anyone understand this, I have some javascript that shows up on my browser and on a friends browser but when my brother tries to load the page from the site the script doesn't show up, the browser is the same (IE) it also works with firefox for me. The only reason i think it has...
  10. TommyB44

    Second Hard Drive

    Hello, If i run out of space on my server hard drive is it possible to put in another hard drive and link the wwwroot file to it so that users get access to both hard drives, Or would i just have to update to a bigger hard drive ?. Thanks. ps not sure if this is the right forum.
  11. TommyB44

    Table Trouble

    Hi, All I've tested this code on firefox and IE. For some reason the table in this code doesn't work, the code it's self works fine and if i change the td's for font's then it displays the way it should. The answer might be simple, but if it is i can't see it. The Code .. <body...
  12. TommyB44

    Loop with innerHTML ?

    Hi, All I'm trying to loop this code to write a table within a span id so that the whole page doesn't have to be re-wrote, i don't want to use and iframe and i don't think i can use document.write without it wanting to write the whole page over again. The following code will only...
  13. TommyB44

    String Loop and Split

    Hi, All Is there a way i can skip a split of a string with loop, for example, if i had a string like this.. var s="?866?000?233?000?233?000"; could i use a loop like ( for(i=0;i<6;i++) ), but instead of it increasing by 1 it increases by 2 ?. So that it returns every "000". Thanks for...
  14. TommyB44

    Javascript Array (split string)

    Hi, All Could anybody tell me how i split a string onto an array. I know some javascript but not enough to do this, i'll try to explain.... I have a string that looks like this... var s="$2111*bob*22*gold$3221*paul*26*silver$5476*sam*45*iron"; note: the amount of '$' characters can be...

Part and Inventory Search

Back
Top