Advertisement
Guest User

Untitled

a guest
Aug 28th, 2015
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. <div class="pizza_name_div">
  2. <input type="text" name="pizza_name" id="pizza_name" placeholder="Enter your pizza name as u like. i.e : my-pizza" value="">
  3. <input type="submit" value="Go" id="pizza_name_submit" onclick="pizza_name()">
  4. </div>
  5.  
  6. function pizza_name() {
  7. if( pizza_name != "" ) {
  8. .........
  9. }else{
  10. alert( "please enter a name" );
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement