Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="form-group">
- <label for="exampleInputEmail1">Введите адрес сайта</label>
- <input type="text" class="form-control" id="siteTitle">
- </div>
- <button id="submit" class="btn btn-primary" type="button">Проверить</button>
- $(document).ready(function () {
- $("#submit").click(function (e) {
- e.preventDefault();
- $.ajax({
- url: "check.php",
- type: "GET",
- data: {
- URL: $("#siteTitle").val()
- },
- success: function () {
- $('#result').load("check.php");
- }
- });
- });
- })
- success: function (html) {
- $('#result').html(html);
- }
Add Comment
Please, Sign In to add comment