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 Mike Lewis 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: *

  1. alexfrumkin

    Trim does not work!

    &lt;form name=&quot;frmLog&quot; method=&quot;post&quot; action=&quot;frmLogIn.asp&quot; onsubmit=&quot;return check(this)&quot;&gt;<br><br>this it how I pass the parameter. It works in every case, except when I try to do that &quot;trim&quot; thing. So, that means that the parameter gets passed...
  2. alexfrumkin

    Trim does not work!

    &lt;script language=&quot;JavaScript&quot;&gt;<br>function check(passForm){<br><br>if (RTrim(LTrim(frmLog.UserName.value))==&quot;&quot;){<br> alert('Name cannot be left Blank');<br> return false<br>}<br> <br>if&nbsp;&nbsp;(frmLog.Password.value==&quot;&quot;){<br> alert (&quot;Password canot...
  3. alexfrumkin

    is there an equivalent to "trim" function in Javascript?

    I need to check if the input type text is empty. I can check for emtpy string like in form.txtName.value==&quot;&quot;, but what if someone enters a space or two into it? in VB I would do trim(form.txtName.value)=&quot;&quot;; How do do it using Javascript?<br><br>Thank you for your time and...
  4. alexfrumkin

    Reading file via http. Please, help!

    I need to find syntax to do the following. I need to read the file header (size, last modified, etc), and later, the whole file content off the web server to the client.<br> I have a .pdf file residing on the web server directory. I need to transfer its header to the client, and then, upon...

Part and Inventory Search

Back
Top