Topic
1 reply Latest Post - ‏2014-09-20T11:52:17Z by jitupkp
xyeze
xyeze
1 Post
ACCEPTED ANSWER

Pinned topic Please ajax post problem help :(((( please

‏2011-10-21T06:26:19Z |
hi everyone ; just i am very sorry for bad english :((

just demopage is that : http://xyeze.com/aqajax/levent/

my problem is ajax post problem..my code is that ...
this is index.php ;

/////////////
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">

#ustkolon {
width:979px;
height:36px;
margin-left:4px;
margin-bottom:10px;
border: 1px dashed #3ca3c1;
background:#AEE1E2;
}
#solkolon{
float:left;
margin-left:4px;
overflow:auto;
background:#91CED2;
width:250px;
height: 500px;
border: 1px dashed #3ca3c1;
padding: 3px;
}

a.tryitbtn,a.tryitbtn:link,a.tryitbtn:visited,a.showbtn,a.showbtn:link,a.showbtn:visited
{
display:block;
font: normal 12px arial;color:#096F78;
background:#ffffff;
width:225px;
border: 1px dashed #ffffff;
padding:3px;
margin-bottom:4px;
text-decoration:none;
}

a.tryitbtn:hover,a.tryitbtn:active,a.showbtn:hover,a.showbtn:active
{
color:#ffffff;
text-decoration :none;
background-color:#0E929E;
}

#sagkolon{

overflow:auto;
margin-left:10px;
float:left;
background:#CBC3C1;
height:500px;
width:714px;
margin-right: 5px;
padding-bottom: 8px;
}
</style>
<script type="text/javascript">

var loadedobjects=""
var rootdomain="http://"+window.location.hostname

function ajaxpage(url, containerid){

var page_request = false
if (window.XMLHttpRequest) // if Mozilla, Safari etc
page_request = new XMLHttpRequest()
else if (window.ActiveXObject){ // if IE
try {
page_request = new ActiveXObject("Msxml2.XMLHTTP")
}
catch (e){
try{
page_request = new ActiveXObject("Microsoft.XMLHTTP")
}
catch (e){}
}
}
else
return false
page_request.onreadystatechange=function(){
loadpage(page_request, containerid)
}
page_request.open('GET', url, true)
page_request.send(null)

}

function loadpage(page_request, containerid){

if (page_request.readyState == 1)
{
document.getElementById(containerid).innerHTML='<img src="../yenixyezeeee/tools/images/loading.gif" />';
}

if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1))
document.getElementById(containerid).innerHTML=page_request.responseText
}

if (fileref!=""){
document.getElementsByTagName("head").item(0).appendChild(fileref)
loadedobjects+=file+" " //Remember this object as being already added to page
}
</script>


veri olmadımı burası gelir veri çağrıldımı bu kalkar sayfa gelir
/////////////
this is cagrilanilk.php

/////////////
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">


<form method="GET" action="javascript:ajaxpage('cagrilanilk2.php','sagkolon');">

<textarea id='fikrim' style='border-color:#BEF2DF;width:573px;height:150px;' class='content' name='fikrim'></textarea>
<input type="submit" class="uibutton confirm" value="sal başlığı ortama">

</form>

/////////////
end this is cagrilanilk2.php (

////////////
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?

$fikrim=$_GET;

echo "gelen veri ==>> $fikrim";

?>

////////////
please help me friends pleaseeeeee ...

$fikrim is not getting... (
and demopage is that : http://xyeze.com/aqajax/levent/

Attachments