,
prada online
| Back to logs list
70929 2009 年 09 月 20 日 23:46 Reading (loading. ..) Comments (0) Category: Personal Diary
recent project to do with php5 development,
prada sunglasses 2011, will now use the following summary of the local refresh;
1, use is: I click on the page, to make this page a piece of local refresh;
This page contains the local page this way: var url = , / / get the HTML result of the update to the layer
url,
{
method: 'get',
parameters: pars,
evalScripts: true
}
);
}
2, click the partial refresh the page and return value judgments by js; for example, a local message board, I send a data,
prada shoes, local refresh; and the results,
cheap prada handbags, told me by js ;
function addMessage (type, actId,
prada sale 2011, sentences) {
var sentences = document.getElementById (br> var pars =
method: 'get',
parameters: pars,
onComplete: showResponse_addmessage
}
);
}
}
/ / ********************************
/ / addMessage.php page with the following statement will be executed the results back to the js
/ / $ rtn = array ('result' => $ validate_result,
prada sneakers, 'countnum' => $ vrowNum);
/ / echo json_encode ($ rtn );
//********************************
/ / shout the results to determine
function showResponse_addmessage (originalRequest) {
logininfo = originalRequest.responseText.evalJSON (true);
if (logininfo.result == alert (; / script>
tags partial page php5 sentences pars
published cancel
| Back to logs list