Archívum - Nov 12, 2010 - Fórum téma
kepkezeles jquery - $.post()-al
<script language="JavaScript1.2">
$(function(){
$("input#submitbutton").click(function(){
$.post("../teszt/readfile.php",{
text: $("input#textbox").val()
},function(data){
$("div#kep").html(data);
})
})
});
</script>
<input type="Text" id="textbox" value="1">
<input type="Submit" id="submitbutton">
<div name="imagebox" id="imagebox" style="width: 500px; height: 500px; border: 1px solid red;"></div>