www.webdeveloper.com

Search:

Type: Posts; User: dwd123

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    589

    Viewport Height for Full Screen Div?

    I have a DIV element that needs to fill the entire screen until the user scrolls and reveals the content. So essentially remain at the viewports height.

    Here is what I did and it works, but it's...
  2. Replies
    2
    Views
    458

    There has to be a way to do this with php and not...

    There has to be a way to do this with php and not javasript?
  3. Replies
    2
    Views
    458

    Newbie drop down question

    I am new to php and I am trying to figure out when validating a form to determine what item is selected in a drop down.

    I would like to only allow some things in a text box based on the selected...
  4. Replies
    6
    Views
    757

    Thank you, I got it now. You have been very...

    Thank you, I got it now. You have been very helpful! Thanks again!!!
  5. Replies
    6
    Views
    757

    I am not getting this code to work? Any...

    I am not getting this code to work? Any suggestions?
  6. Replies
    6
    Views
    757

    Random Images - multiple

    Hello -

    I found this javascript which will load a random image everytime the page loads.

    I am in the process of creating a website where there is two separate images but must be loaded at the...
  7. Replies
    2
    Views
    443

    oh yeah.. I forgot about charAt, thanks

    oh yeah.. I forgot about charAt, thanks
  8. Replies
    2
    Views
    443

    Value of textbox

    If I am using an if statement, how can I check to see what the first letter of a value is?

    I have a a zip code box and I want to display something based on the first letter. I can figure out how...
  9. Replies
    4
    Views
    602

    regular expression

    I was wondering if someone call tell me how to modify this regular express to only allow 5 characters, nothing less nothing more?

    re = /^[0-9]$/
  10. Replies
    3
    Views
    594

    great! thanks I got it!

    great! thanks I got it!
  11. Replies
    3
    Views
    594

    [RESOLVED] radio button value to textbox

    Last trouble I am having with this project.

    How can I get a textbox to display a value with a onclick event of a radio button?
  12. Replies
    9
    Views
    568

    The button doesn't work.

    The button doesn't work.
  13. Replies
    9
    Views
    568

    function submitIt(creditForm) { // make...

    function submitIt(creditForm) {

    // make sure they enter a card type.
    var cardChoice = creditForm.cardType.selectedIndex
    if (creditForm.cardType.options[cardChoice].value == "") {...
  14. Replies
    9
    Views
    568

    opps.. your right.. but even when I do it right.....

    opps.. your right.. but even when I do it right.. like this it still does not work

    if (creditForm.cardNumber.value.charAt(0)!=4) {
    return false
    }
  15. Replies
    9
    Views
    568

    no error, it just allows every number still

    no error, it just allows every number still
  16. Replies
    9
    Views
    568

    [RESOLVED] checking value at zero

    Why is this not working? I want to check if Visa is selected in the drop-down, and if the value at position 0 in the textbox is anything but 4 to return false.



    if...
  17. Replies
    1
    Views
    785

    textbox problems

    I am trying to setup a textbox that checks for some user input errors when inputing a credit card number.


    <script language="Javascript" type="text/javascript">
    <!-- Hide script from older...
  18. Thread: Switch/Case

    by dwd123
    Replies
    1
    Views
    490

    Switch/Case

    Could someone tell me how you would use a switch case with a range of numbers?

    for example 1 - 10 case 1, 10-50 case 2, 50 and above case 3?

    I know how to do this with single values but havign...
  19. Replies
    11
    Views
    552

    So to use substr to check for spaces, do I use an...

    So to use substr to check for spaces, do I use an if else statement? Like if character is not a space do the loop else move to next character? But how do you tell if there is a space? in the if else,...
  20. Replies
    11
    Views
    552

    Sorry I was not asking to do homework. Merely...

    Sorry I was not asking to do homework. Merely wanted to know what I did wrong in my function because it does not work.

    konithomimo: I understand that, that I what I was tryng to accomlish with my...
  21. Replies
    11
    Views
    552

    I figure there are better ways to do this, but...

    I figure there are better ways to do this, but this is actually for a school assignment, we were asked to create an program using substr and this is what I have been working on but can't figure it...
  22. Replies
    11
    Views
    552

    [RESOLVED] substr function

    hello

    I am trying to set up up a function that uses substr to calculate the number of characters (not spaces) in a value that the use enters with a prompt and returns one single number so I can...
  23. Thread: Letter Count

    by dwd123
    Replies
    1
    Views
    544

    Letter Count

    I am trying to make something that prompts the user to enter there name and then returns the amount of letters in there name not counting spaces... can you help me with my code?


    <!DOCTYPE html...
  24. Thread: Another easy

    by dwd123
    Replies
    3
    Views
    528

    Sorry, I know how to make a table, I just started...

    Sorry, I know how to make a table, I just started with javascript in my life and I am trying to make a loop that will display the numbers (first input from user) - numbers (last input).

    For...
  25. Thread: Another easy

    by dwd123
    Replies
    3
    Views
    528

    Another easy

    Just started learning javascript.

    If I collect 2 numbers with a prompt and turn them into a number, in order to put them in a table. How do you start the numbers in the table at the first number...
Results 1 to 25 of 25
HTML5 Development Center



Recent Articles