Skip to main content

Bug Tracker

Side navigation

Ticket #5863: test.php
File test.php, 0.4 KB (added by bart_b, January 20, 2010 06:02AM UTC)

test file for ticket 5863

<html>
<head>
<script type="text/javascript" src="../../js/jquery/jquery.js"></script>
</head>
<body>
<?php echo strlen(file_get_contents("TEST.TXT"));?>
<p />
<span onclick=
"jQuery(document).ready(function() { jQuery('#imyourdesire').load('TEST.TXT');});"
> click me</span>

<span onclick="alert(document.getElementById('imyourdesire').innerHTML.length);">
then click me</span>
<div id="imyourdesire">
</div>
</body>
</html>

Download in other formats:

Original Format