aktuelle.kurse/m133/Modul_Unterlagen_133_VOR/01-Modulinhalte/07 Script (JQuery)/07 jQuery Lösungen/jQuery3.html
Harald G. Mueller 28ff49e098 muh
2023-06-29 07:50:41 +02:00

22 lines
584 B
HTML

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.2.4.js""></script>
<script type="text/javascript">
$(document).ready(function() {
$("#btn1").click(function () {
alert("Call PHP Function and write to file: jQuery3.TXT");
$.get( "http://localhost/M133/jquery/jquery3.php" );
});
});
</script>
</head>
<body>
<h2>Call simple PHP function</h2>
<div id='input'>
<input type='button' id='btn1' value='CALL PHP Function' />
</div>
</body>
</html>