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

  1. 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...
  2. 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...
  3. 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