Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

JavaScript Tutorial #11 - Part 3

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,071
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 3, 2008

Js vid 11 part 3.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (asib12)

  • how can i do, to if i leave a space in blank and send me an alert, and the i press OK, the form is cleaned, and i need to input again the name, and lastname... i mean, the form is cleared if i have a mistake, how can i do to not let be cleared in a mistake...sorry for my english -_-

  • @Zero0097 You can do that in PHP. If you check the form with PHP, you store the entries in PHP variables and they'll still be accessible after the form has been submitted, so then in the "value" attribute of each input, you have something like

    if ( isset ( $first_name ) )

    { echo $first_name;

    }

    and then if the a value was entered for first name, it will stay there after the form has been submitted.

  • Umm, where's the first part? :(

  • Hmm, said it was uploaded. Lemme do it now.

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • @asib12 thanks, I'll see your PHP vids, it will be good a playlist for they, like JavaScript tuts.. see yaa

  • can you assign information retrieved from the forms to variables?

  • nice man

  • good job in this tutorial on events, but it would be better if I can hear you talk, it's too soft in this video =x

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more