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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by tvfahlberg

  1. tvfahlberg

    How to send SelectedIndex to Cookie's value?

    document.cookie = "YourSelectedIndex=" + document.YourForm.YourSelect.selectedIndex; -- taf
  2. tvfahlberg

    Help! Form validation not working using Javascript and Coldfusion

    I can't help with the cold fusion question, but I see your Javascript problem. You're referring to the wrong names in your checks. For example you refer to "form.fullname". But form.fullname doesn't exist. You're confusing the cfm field names with the form names. In this case you...
  3. tvfahlberg

    force browser refresh

    Javascript to refresh after 5 secs: <script language=Javascript> setTimeout(&quot;self.location.reload()&quot;, 5000); </script> HTML to do the same thing: <meta http-equiv=&quot;Refresh&quot; content=&quot;5;URL=thispage.htm&quot;> I doubt that you'll want to refresh while a user is working...
  4. tvfahlberg

    same sub used in multiple programs

    Put it into a package (separate file with .pm suffix). Then &quot;use&quot; the package wherever you need it. -- foo.pm package foo; sub doSomething { print &quot;Hello&quot;; } -- elsewhere -- use foo; foo->doSomething; -- see PerlToot for more info on packaging and objects
  5. tvfahlberg

    XML + XSL ----&gt; HTML

    This code sample does what you want: <IFRAME ID=&quot;OpenCases&quot; src=&quot;&quot;></IFRAME> <script language=&quot;Javascript&quot;> function onload () { var oFrame = document.all.OpenCases; oFrame.width = oFrame.offsetParent.offsetWidth; oFrame.height =...

Part and Inventory Search

Back
Top