dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: jalarie

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    534

    I just tried it and it works perfectly! Thank...

    I just tried it and it works perfectly! Thank you.
  2. Replies
    3
    Views
    534

    Thank you. That appears to be exactly what I...

    Thank you. That appears to be exactly what I need.

    I should thank you for this and mark this question solved, but I don't see those options in this forum.
  3. Replies
    3
    Views
    534

    Which item has focus?

    Within a JavaScript function, I want to find out which HTML object currently has focus. I've searched, but....
  4. I'm using Windows XP and find that Opera and IE...

    I'm using Windows XP and find that Opera and IE both ask if I want to run or save the batch file, and will run it without problems. Safari asks what to do with it, opens the directory with that file...
  5. Replies
    16
    Views
    2,480

    Wow! I asked a simple question, found the answer...

    Wow! I asked a simple question, found the answer myself, and seem to have started WW3! Sorry for that.
  6. But I'm running the web page on my own machine...

    But I'm running the web page on my own machine and wrote the batch file myself. Why should I be protected from myself? Well, I'm not giving up, yet.
  7. Thank you. I do have PHP as a local host; I was...

    Thank you. I do have PHP as a local host; I was hoping to do it entirely within HTML/batch.

    I've found that the browser first makes a copy of the file and then runs that copy without any...
  8. Replies
    16
    Views
    2,480

    Originally, I did have some "with" code. I...

    Originally, I did have some "with" code. I easily found ways around all of mine. What example(s) do you have where it is needed?
  9. I just tried again and got a lot further than on...

    I just tried again and got a lot further than on previous attempts. Thank you for pushing me to try again.

    I'll post the results if I finally get it to work.
  10. Thank you. I've tried most of that without...

    Thank you.

    I've tried most of that without much success. And I'm trying to run it locally, so PHP is not available.
  11. Replies
    16
    Views
    2,480

    There's absolutely no benefit in your negative...

    There's absolutely no benefit in your negative comments on it, either. I'm doing it. Period!
  12. I use a link to a local batch file to run it from...

    I use a link to a local batch file to run it from a browser, but I don't know how to add a parameter:


    <a href="file:///c:/mystuff/mybatch.bat">Run It</a>
  13. Replies
    16
    Views
    2,480

    Why would it be dumb to have the browser...

    Why would it be dumb to have the browser double-check my work?
  14. Replies
    16
    Views
    2,480

    I don't have to use it; I choose to use it. It...

    I don't have to use it; I choose to use it. It forces declaration of variables and catches typing errors. I did find a couple problems in my work, so I'm keeping the "use strict" in there.
  15. Replies
    16
    Views
    2,480

    Found it! It needs to be declared with a leading...

    Found it! It needs to be declared with a leading 'window.' on the name, but NOT a 'var' out there. Thank you.
  16. Replies
    16
    Views
    2,480

    global/local variable

    Is there a way, within a function, to create a global variable? I'm trying to "use strict" with my scripts. A package has multiple functions which all need to reference a particular variable, but...
  17. Notice that the example code I provided used...

    Notice that the example code I provided used "MyForm" but your form is named "bankForm" and that your form has no id. Change to "MyFOrm" to "bankForm" and add 'id="bankForm"' to give it a try. I...
  18. I tried the following and it worked. Your form...

    I tried the following and it worked. Your form line is quite a bit more complex than mine and that may affect it.


    document.forms.MyForm.submit();
  19. How about asking the user what s/he has or wants...

    How about asking the user what s/he has or wants on screen?
  20. Interesting!

    Interesting!
  21. At the end of each test, you "return" no matter...

    At the end of each test, you "return" no matter what, and the next test does not happen:


    if ((CreditCardFirstNumber == "4") && (CreditCardType == "Visa")) {
    return true
    } else {
    ...
  22. You have correctly converted current month from...

    You have correctly converted current month from human usage (1-12) to computer usage (0-11) and then comparing against a strictly "less than" value and having problems:


    DateEntered = new...
  23. Will this be handled properly for MM/DD/YY,...

    Will this be handled properly for MM/DD/YY, DD/MM/YY, and YY/MM/DD dates? If so, how do I know which it is? If not, does it default to the format in my local area, and then what about visitors from...
  24. You can shorten your length check stuff to a...

    You can shorten your length check stuff to a single short function:


    function LengthCheck(Value,Length) {
    if (String(Value).length != Length) { return false; }
    return true;
    }

    and call...
  25. If you include both an id and name, then they...

    If you include both an id and name, then they must match; yours do not:


    <input type="text" id="CardNumber" name="EPS_CARDNUMBER" onkeypress="return IsNum16(event);" ondrop="return false;" />
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles