Bug Tracker

Ticket #5741: test.php

File test.php, 438 bytes (added by Taturana, 10 years ago)
Line 
1<?php
2if($_GET['bug'] == 1)
3{
4        ?>
5        <script type="text/javascript">alert('bug');</script>
6        <?php
7        exit;
8}
9?>
10
11<html>
12<head>
13<script type="text/javascript" src="/Workana/public/scripts/jQuery/jquery-1.4a2.min.js"></script> 
14<script type="text/javascript">
15function bclick()
16{
17        $('#response').load('test.php?bug=1');
18}
19</script>
20</head>
21<body>
22<input type="button" onclick="bclick();" value="test"/>
23<div id="response"></div>
24</body>
25</html>