אשכול: שאלה ב AJAX.
View Single Post
ישן 23-07-06, 00:50   # 4
RS324
תודה על תרומתך.
 
מיני פרופיל
תאריך הצטרפות: May 2006
הודעות: 3,173

RS324 לא מחובר  

תנסה ככה :

PHP קוד:
var MainParantIDForPrint;
function 
SChanged(){
  if(
xmlHttp.readyState==|| xmlHttp.readyState=="complete")
    
document.getElementById("Cat_"+MainParantIDForPrint).innerHTML+=xmlHttp.responseText ;

onclick="MainParantIDForPrint='1';SChanged()" 
כמובן שאת ה ONCLICK תפריד ותשים במקום שלו...
  Reply With Quote