Yam Code
Sign up
Login
New paste
Home
Trending
Archive
English
English
Tiếng Việt
भारत
Sign up
Login
New Paste
Browse
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>ĐĂNG KÝ MUA HOA</title> <script> function xuLy() { var hten = document.getElementById("hoten").value; var dchi = document.getElementById("diachi").value; var sdt = document.getElementById("sdt").value; var email = document.getElementById("email").value; var lhoa = document.getElementById("loaihoa").value; var msac = document.getElementById("mausac").value; var sluong = document.getElementById("soluong").value; //start thanh toan var tmat = document.getElementById("tienmat"); var ckhoan = document.getElementById("chuyenkhoan"); var mcard = document.getElementById("mcard"); //end thanh toan //start don vi tinh var nhanh = document.getElementById("nhanh"); var so = document.getElementById("so"); var chau = document.getElementById("chau"); //end don vi tinh var ycau = document.getElementById("yeucau").value; var str_thanhtoan = "Phương thức thanh toán: "; var str_donvitinh = "Đơn vị tính: "; if (tmat.checked == true) { str_thanhtoan += "Tiền mặt. "; } if (ckhoan.checked == true) { str_thanhtoan += "Chuyển khoản. "; } if (mcard.checked == true) { str_thanhtoan += "Master card. "; } if (nhanh.checked == true) { str_donvitinh += "Nhánh. "; } if (so.checked == true) { str_donvitinh += "Số. "; } if (chau.checked == true) { str_donvitinh += "Chậu. "; } var str_result = "Họ tên: " + hten + "\n" + "Địa Chỉ: " + dchi + "\n" + "SĐT: " + sdt + "\n" + "Email: " + email + "\n" + "Loại hoa: " + lhoa + "\n" + "Màu sắc: " + msac + "\n" + "Số lượng: " + sluong + "\n" + str_donvitinh + "\n" +str_thanhtoan + "\n" + "Yêu cầu: " + ycau; alert(str_result); } </script> </head> <body> <form action=""> <table width="600px" align="center" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="100px">Họ Tên:</td> <td colspan="3"><input type="text" style="width:99%" id="hoten" required></td> </tr> <tr> <td width="100px">Địa Chỉ:</td> <td colspan="3"><input type="text" style="width:99%" id="diachi" required></td> </tr> <tr> <td width="100px">SDT:</td> <td colspan="3"><input type="tel" style="width:99%" id="sdt" required></td> </tr> <tr> <td width="100px">Email:</td> <td colspan="3"><input type="email" style="width:99%" id="email" required></td> </tr> <tr> <td width="100px">Loại hoa:</td> <td width="300px"> <select name="loaihoa" id="loaihoa"> <option value="Hoa Hồng">Hoa Hồng</option> <option value="Hoa Lay Ơn">Hoa Lay Ơn</option> <option value="Hoa Cúc">Hoa Cúc</option> <option value="Hoa Tulip">Hoa Tulip</option> <option value="Hoa Thược Dược">Hoa Thược Dược</option> <option value="Hoa Vạn Thọ">Hoa Vạn Thọ</option> <option value="Mai Vàng">Mai Vàng</option> </select> </td> <td width="100px"> Màu sắc: </td> <td width="300px"> <select name="mausac" id="mausac"> <option value="Đỏ">Đỏ</option> <option value="Vàng">Vàng</option> </select> </td> </tr> <tr> <td width="100px">Số lượng:</td> <td colspan="3"><input type="number" style="width:99%" id="soluong" required></td> </tr> <tr> <td width="100px">Đơn vị tính:</td> <td width="233px"><input type="checkbox" name="nhanh" id="nhanh">Nhánh</td> <td width="233px"><input type="checkbox" name="so" id="so">Số</td> <td width="233px"><input type="checkbox" name="chau" id="chau">Chậu</td> </tr> <tr> <td width="100px">Thanh toán:</td> <td width="233px"><input type="checkbox" name="tienmat" id="tienmat">Tiền mặt</td> <td width="233px"><input type="checkbox" name="chuyenkhoan" id="chuyenkhoan">Chuyển khoản</td> <td width="233px"><input type="checkbox" name="mcard" id="mcard">Master Card</td> </tr> <tr> <td width="100px">Yêu cầu:</td> <td colspan="3"> <textarea name="yeucau" id="yeucau" style="height:100px;width: 99%;"></textarea> </td> </tr> <tr> <td></td> <td><input type="button" value="Đăng ký" onclick="xuLy();"></td> <td colspan="2" ><input type="reset" name="reset" id="reset" value="Xóa Thông Tin"></td> </tr> </table> </form> </body> </html>
Paste Settings
Paste Title :
[Optional]
Paste Folder :
[Optional]
Select
Syntax Highlighting :
[Optional]
Select
Markup
CSS
JavaScript
Bash
C
C#
C++
Java
JSON
Lua
Plaintext
C-like
ABAP
ActionScript
Ada
Apache Configuration
APL
AppleScript
Arduino
ARFF
AsciiDoc
6502 Assembly
ASP.NET (C#)
AutoHotKey
AutoIt
Basic
Batch
Bison
Brainfuck
Bro
CoffeeScript
Clojure
Crystal
Content-Security-Policy
CSS Extras
D
Dart
Diff
Django/Jinja2
Docker
Eiffel
Elixir
Elm
ERB
Erlang
F#
Flow
Fortran
GEDCOM
Gherkin
Git
GLSL
GameMaker Language
Go
GraphQL
Groovy
Haml
Handlebars
Haskell
Haxe
HTTP
HTTP Public-Key-Pins
HTTP Strict-Transport-Security
IchigoJam
Icon
Inform 7
INI
IO
J
Jolie
Julia
Keyman
Kotlin
LaTeX
Less
Liquid
Lisp
LiveScript
LOLCODE
Makefile
Markdown
Markup templating
MATLAB
MEL
Mizar
Monkey
N4JS
NASM
nginx
Nim
Nix
NSIS
Objective-C
OCaml
OpenCL
Oz
PARI/GP
Parser
Pascal
Perl
PHP
PHP Extras
PL/SQL
PowerShell
Processing
Prolog
.properties
Protocol Buffers
Pug
Puppet
Pure
Python
Q (kdb+ database)
Qore
R
React JSX
React TSX
Ren'py
Reason
reST (reStructuredText)
Rip
Roboconf
Ruby
Rust
SAS
Sass (Sass)
Sass (Scss)
Scala
Scheme
Smalltalk
Smarty
SQL
Soy (Closure Template)
Stylus
Swift
TAP
Tcl
Textile
Template Toolkit 2
Twig
TypeScript
VB.Net
Velocity
Verilog
VHDL
vim
Visual Basic
WebAssembly
Wiki markup
Xeora
Xojo (REALbasic)
XQuery
YAML
HTML
Paste Expiration :
[Optional]
Never
Self Destroy
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Status :
[Optional]
Public
Unlisted
Private (members only)
Password :
[Optional]
Description:
[Optional]
Tags:
[Optional]
Encrypt Paste
(
?
)
Create New Paste
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Site Languages
×
English
Tiếng Việt
भारत