Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <title>Online News Application</title>
- <link rel="stylesheet" href="css/style_acc.css" type="text/css" />
- <link rel="stylesheet" href="css/fb-buttons.css">
- <link href="css/style_table.css" rel="stylesheet" type="text/css" />
- <link href="css/fb-1.css" rel="stylesheet" type="text/css" />
- <link href="css/fb-3.css" rel="stylesheet" type="text/css" />
- <!--Mootols-->
- <style>
- @import "Assets/LightFace.css";
- </style>
- <script src="Source/mootools.js"></script>
- <script src="Source/LightFace.js"></script>
- <script src="Source/LightFace.js"></script>
- <script src="Source/LightFace.IFrame.js"></script>
- <script src="Source/LightFace.Image.js"></script>
- <script src="Source/LightFace.Request.js"></script>
- <script src="Source/mootools-more-drag.js"></script>
- <!--Mootols-->
- <script src="js/jquery-1.7.1.min.js"></script>
- <script src="js/jquery.mobile-1.1.0.min.js"></script>
- <script language="javascript">
- function submitMe()
- {
- variableString = 'nama='+$("#nama").val()+'&alamat='+$("#alamat").val()+'&komentar='+$("#komentar").val();
- jQuery.ajax({
- type: "post",
- url: "http://www.berthojoris.com/dev/jqm/insert_komentar.php",
- data: variableString,
- cache: false,
- success: function(response){
- $('#result').html(response);
- },
- error: function(response){
- $('#result').html(response);
- }
- });
- }
- function resetForm($komentar) {
- $form.find('input:text, input:password, input:file, select').val('');
- $form.find('input:radio, input:checkbox')
- .removeAttr('checked').removeAttr('selected');
- }
- function displayAlertMessage(message) {
- var timeOut = 5
- jQuery('#messageBox').text(message).fadeIn()
- jQuery('#messageBox').css("display", "block")
- setTimeout(function() {
- jQuery('#messageBox').fadeOut()
- jQuery('#messageBox').css("display", "none")
- }, timeOut * 1000);
- }
- </script>
- </head>
- <body>
- <div class="uibutton-toolbar" style="background-color:#FFF">
- <a class="uibutton confirm" rel="external" href="index.html">Home</a>
- <a class="uibutton confirm" rel="external" href="news_list.html">Online News</a>
- <a class="uibutton special" rel="external" href="report.html">Report Application</a>
- <a class="uibutton confirm" rel="external" href="about.html">About Application</a>
- <a class="uibutton confirm" id="ajax">Login</a>
- </div>
- <ul class="acc" id="acc">
- <li>
- <h3>Application Report Form</h3>
- <div class="acc-section_hitam">
- <div class="acc-content_hitam">
- <div class="section">
- <p>Menu ini berfungsi untuk mengirimkan masukan/komentar dari user yg memakai aplikasi ini.</p>
- <p>Silahkan masukan Nama, Alamat, dan Komentar anda pada form dibawah.</p>
- <br />
- <div id="results">
- Laporan
- </div>
- <form name="komentar" method="post">
- <table id="mytable" style="width:425px;">
- <tr>
- <th width="123" scope="col" >Report Form</th>
- <th width="290" scope="col" >Input Here</th>
- </tr>
- <tr>
- <td>Nama</td>
- <td><input name="nama" type="text" class="inputtext" id="nama" maxlength="10" ></td>
- </tr>
- <tr>
- <td class="alt">Alamat</td>
- <td class="alt"><input name="alamat" type="text" class="inputtext" id="alamat" maxlength="20"></td>
- </tr>
- <tr>
- <td>Komentar</td>
- <td><input name="komentar" type="text" class="inputtext" id="komentar" maxlength="40"></td>
- </tr>
- <tr>
- <td class="alt"></td>
- <td class="alt">
- <input style="width:70px;" class="uibutton confirm" onClick="submitMe();" value="Kirim">
- <input style="width:70px;" class="uibutton" onClick="resetForm();" value="Reset" >
- </td>
- </tr>
- </table>
- </form>
- </div>
- <br />
- <div class="uibutton-toolbar">
- Created By : Bertho Joris
- </div>
- </div>
- </div>
- </div>
- </div>
- </li>
- </ul>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment