www.webdeveloper.com

Search:

Type: Posts; User: dwd123

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    2,137

    Referral Source & Hidden Fields

    Hi,

    Does anyone know if it's possible to capture the visitors source from Google Analytics and pass that through a form using a hidden field? Here is what I am looking to do. I have a form on my...
  2. Replies
    2
    Views
    1,210

    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...
  3. Replies
    2
    Views
    477

    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?
  4. Replies
    2
    Views
    477

    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...
  5. Replies
    6
    Views
    798

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

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

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

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

    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...
  8. Replies
    2
    Views
    473

    oh yeah.. I forgot about charAt, thanks

    oh yeah.. I forgot about charAt, thanks
  9. Replies
    2
    Views
    473

    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...
  10. Replies
    4
    Views
    623

    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]$/
  11. Replies
    3
    Views
    635

    great! thanks I got it!

    great! thanks I got it!
  12. Replies
    3
    Views
    635

    [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?
  13. Replies
    9
    Views
    657

    The button doesn't work.

    The button doesn't work.
  14. Replies
    9
    Views
    657

    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 == "") {...
  15. Replies
    9
    Views
    657

    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
    }
  16. Replies
    9
    Views
    657

    no error, it just allows every number still

    no error, it just allows every number still
  17. Replies
    9
    Views
    657

    [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...
  18. Replies
    1
    Views
    807

    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...
  19. Thread: Switch/Case

    by dwd123
    Replies
    1
    Views
    522

    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...
  20. Replies
    11
    Views
    608

    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,...
  21. Replies
    11
    Views
    608

    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...
  22. Replies
    11
    Views
    608

    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...
  23. Replies
    11
    Views
    608

    [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...
  24. Thread: Letter Count

    by dwd123
    Replies
    1
    Views
    565

    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...
  25. Thread: Another easy

    by dwd123
    Replies
    3
    Views
    546

    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...
Results 1 to 25 of 26
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles