<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>My first jQuery Mobile code</title>
|
|
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css">
|
|
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
|
|
<script type="text/javascript" src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
</head>
|
|
<body>
|
|
<div data-role="page" id="home">
|
|
<div data-role="header">
|
|
<h1>Simple form with field containers</h1>
|
|
</div>
|
|
<form action="wurst.php" method="get">
|
|
<div data-role="fieldcontain">
|
|
<label for="company">Company name:</label>
|
|
<input type="text" id="company" name="company">
|
|
</div>
|
|
<div data-role="fieldcontain">
|
|
<label for="email">Email:</label>
|
|
<input type="email" id="email" name="email">
|
|
</div>
|
|
<div data-role="fieldcontain">
|
|
<label for="search">Search:</label>
|
|
<input type="search" id="search" name="search">
|
|
</div>
|
|
<div data-role="fieldcontain">
|
|
<label for="comments">Your comments:</label>
|
|
<textarea id="comments" name="comments"></textarea>
|
|
</div>
|
|
<button type="submit" name="submit" value="submit-value">Submit</button>
|
|
</form>
|
|
<div data-role="footer">
|
|
<h1>www.goodcleanfun.de</h1>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|