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

    Substring till a specific character is found

    Hello, I'm trying to perform a substring on a string variable. I want to extract a part of the string till a specific character is found within the string.(the pipe character '|' in this case) Currently, I'm using the index function to supply the Length argument: my $cd = substr($_, 0...
  2. jay25

    if a form box is empty

    I am trying to get some statements executed in a case a form box is empty and I tried comparing the value (theform.thebox.value) to null, NaN, undefined but it doesn't seem to work. Anybody know how to do it? if (theform.thebox.value == null) alert("You got it!"); else...
  3. jay25

    Getting data from the opener window

    I am trying to get some data from the opener window, like form values, without adding any code to the opener. I tried this: alert(opener.form1[0].value); and alert(opener.document.form1[0].value); and var a = opener.document.form1[0].value; alert(a); None of this seems to work. It's...
  4. jay25

    Drawing a line by coordinates

    I am trying to create a little browser based program to evaluate performance. I put asterisks inside divs and absolutely positioned them inside another div. That makes it look like a chart. What I would like to do is connect those asterisks with lines for it to be more clear. Can it be done...
  5. jay25

    Netscape's bgColor

    I can't get this to work in Netscape. What is wrong? Can you not change the background color in Netscape dynamically? [code] <div id=&quot;box1&quot; style=&quot;background-color:#ccffcc;&quot;> This is box 1 </div> <script language=&quot;JavaScript&quot;> function color() { if...
  6. jay25

    Netscape bgColor

    I can't get this to work in Netscape. What is wrong? [code] <div id=&quot;box1&quot; style=&quot;background-color:#ccffcc;&quot;> This is box 1 </div> <script language=&quot;JavaScript&quot;> function color() { if (document.all) { box1.style.backgroundColor=&quot;blue&quot;; } else {...
  7. jay25

    Quotation marks

    If I am using document.write() to write some HTML code, tags and all, how do I nest quotes more than two deep? Thanks.
  8. jay25

    moveTo()

    I've been trying to open a new window and move it toward the center. It will not move and I get an error. What am I doing wrong? Thanks. <html> <head> <script language=&quot;JavaScript&quot;> function newwin() {...

Part and Inventory Search

Back
Top