Foros del Web » Programando para Internet » Javascript » Frameworks JS »

Duda con javascript en chat

Estas en el tema de Duda con javascript en chat en el foro de Frameworks JS en Foros del Web. Buenas soy nuevo en este foro me yamo Mario, y espero que me deis ideas de que puede ser lo que le pasa a mi ...
  #1 (permalink)  
Antiguo 28/08/2012, 06:01
 
Fecha de Ingreso: agosto-2012
Mensajes: 12
Antigüedad: 11 años, 8 meses
Puntos: 0
Duda con javascript en chat

Buenas soy nuevo en este foro me yamo Mario, y espero que me deis ideas de que puede ser lo que le pasa a mi chat resulta que en la caja del chat no se guarda lo que escribo, que es lo que puede ser? un saludo gracias.
Código Javascript:
Ver original
  1. function restructureChatBoxes() {
  2.     align = 0;
  3.     for (x in chatBoxes) {
  4.         chatboxtitle = chatBoxes[x];
  5.  
  6.         if ($("#chatbox_"+chatboxtitle).css('display') != 'none') {
  7.             if (align == 0) {
  8.                 $("#chatbox_"+chatboxtitle).css('right', '20px');
  9.             } else {
  10.                 width = (align)*(225+7)+20;
  11.                 $("#chatbox_"+chatboxtitle).css('right', width+'px');
  12.             }
  13.             align++;
  14.         }
  15.     }
  16. }
  17.  
  18. function chatWith(chatuser, chatid) {
  19.     createChatBox(chatuser,chatid);
  20.     $("#chatbox_"+chatboxtitle+" .chatboxtextarea").focus();
  21. }
  22.  
  23. function createChatBox(chatboxtitle,chatid,minimizeChatBox) {
  24.     if ($("#chatbox_"+chatboxtitle).length > 0) {
  25.         if ($("#chatbox_"+chatboxtitle).css('display') == 'none') {
  26.             $("#chatbox_"+chatboxtitle).css('display','block');
  27.             restructureChatBoxes();
  28.         }
  29.         $("#chatbox_"+chatboxtitle+" .chatboxtextarea").focus();
  30.         return;
  31.     }
  32.  
  33.     $(" <div />" ).attr("id","chatbox_"+chatboxtitle)
  34.     .addClass("chatbox")
  35.     .html('<div class="chatboxhead"><div class="chatboxtitle">'+chatboxtitle+'</div><div class="chatboxoptions"><a href="javascript:void(0)" onclick="javascript:toggleChatBoxGrowth(\''+chatboxtitle+'\')">-</a> <a href="javascript:void(0)" onclick="javascript:closeChatBox(\''+chatboxtitle+'\')">X</a></div><br clear="all"/></div><div class="chatboxcontent"></div><div class="chatboxinput"><textarea class="chatboxtextarea" onkeydown="javascript:return checkChatBoxInputKey(event,this,\''+chatid+'\');"></textarea></div>')
  36.     .appendTo($( "body" ));
  37.                
  38.     $("#chatbox_"+chatboxtitle).css('bottom', '0px');
  39.    
  40.     chatBoxeslength = 0;
  41.  
  42.     for (x in chatBoxes) {
  43.         if ($("#chatbox_"+chatBoxes[x]).css('display') != 'none') {
  44.             chatBoxeslength++;
  45.         }
  46.     }
  47.  
  48.     if (chatBoxeslength == 0) {
  49.         $("#chatbox_"+chatboxtitle).css('right', '20px');
  50.     } else {
  51.         width = (chatBoxeslength)*(225+7)+20;
  52.         $("#chatbox_"+chatboxtitle).css('right', width+'px');
  53.     }
  54.    
  55.     chatBoxes.push(chatboxtitle);
  56.  
  57.     if (minimizeChatBox == 1) {
  58.         minimizedChatBoxes = new Array();
  59.  
  60.         if ($.cookie('chatbox_minimized')) {
  61.             minimizedChatBoxes = $.cookie('chatbox_minimized').split(/\|/);
  62.         }
  63.         minimize = 0;
  64.         for (j=0;j<minimizedChatBoxes.length;j++) {
  65.             if (minimizedChatBoxes[j] == chatboxtitle) {
  66.  
  67.                 minimize = 1;
  68.             }
  69.         }
  70.  
  71.         if (minimize == 1) {
  72.             $('#chatbox_'+chatboxtitle+' .chatboxcontent').css('display','none');
  73.             $('#chatbox_'+chatboxtitle+' .chatboxinput').css('display','none');
  74.         }
  75.     }
  76.  
  77.     chatboxFocus[chatboxtitle] = false;
  78.  
  79.     $("#chatbox_"+chatboxtitle+" .chatboxtextarea").blur(function(){
  80.         chatboxFocus[chatboxtitle] = false;
  81.         $("#chatbox_"+chatboxtitle+" .chatboxtextarea").removeClass('chatboxtextareaselected');
  82.     }).focus(function(){
  83.         chatboxFocus[chatboxtitle] = true;
  84.         newMessages[chatboxtitle] = false;
  85.         $('#chatbox_'+chatboxtitle+' .chatboxhead').removeClass('chatboxblink');
  86.         $("#chatbox_"+chatboxtitle+" .chatboxtextarea").addClass('chatboxtextareaselected');
  87.     });
  88.  
  89.     $("#chatbox_"+chatboxtitle).click(function() {
  90.         if ($('#chatbox_'+chatboxtitle+' .chatboxcontent').css('display') != 'none') {
  91.             $("#chatbox_"+chatboxtitle+" .chatboxtextarea").focus();
  92.         }
  93.     });
  94.  
  95.     $("#chatbox_"+chatboxtitle).show();
  96. }
  97.  
  98.  
  99. function chatHeartbeat(){
  100.  
  101.     var itemsfound = 0;
  102.    
  103.     if (windowFocus == false) {
  104.  
  105.         var blinkNumber = 0;
  106.         var titleChanged = 0;
  107.         for (x in newMessagesWin) {
  108.             if (newMessagesWin[x] == true) {
  109.                 ++blinkNumber;
  110.                 if (blinkNumber >= blinkOrder) {
  111.                     document.title = x+' dice...';/* AKI ES LO DE ARRIBA DEL TITULO*/
  112.                     titleChanged = 1;
  113.                     break; 
  114.                 }
  115.             }
  116.         }
  117.        
  118.         if (titleChanged == 0) {
  119.             document.title = originalTitle;
  120.             blinkOrder = 0;
  121.         } else {
  122.             ++blinkOrder;
  123.         }
  124.  
  125.     } else {
  126.         for (x in newMessagesWin) {
  127.             newMessagesWin[x] = false;
  128.         }
  129.     }
  130.  
  131.     for (x in newMessages) {
  132.         if (newMessages[x] == true) {
  133.             if (chatboxFocus[x] == false) {
  134.                 //FIXME: add toggle all or none policy, otherwise it looks funny
  135.                 $('#chatbox_'+x+' .chatboxhead').toggleClass('chatboxblink');
  136.             }
  137.         }
  138.     }
  139.    
  140.     $.ajax({
  141.       url: "chat.php?action=chatheartbeat",
  142.       cache: false,
  143.       dataType: "json",
  144.       success: function(data) {
  145.  
  146.         $.each(data.items, function(i,item){
  147.             if (item)   { // fix strange ie bug
  148.  
  149.                 chatboxtitle = item.f;
  150.  
  151.                 if ($("#chatbox_"+chatboxtitle).length <= 0) {
  152.                     createChatBox(chatboxtitle);
  153.                 }
  154.                 if ($("#chatbox_"+chatboxtitle).css('display') == 'none') {
  155.                     $("#chatbox_"+chatboxtitle).css('display','block');
  156.                     restructureChatBoxes();
  157.                 }
  158.                
  159.                 if (item.s == 1) {
  160.                     item.f = username;
  161.                 }
  162.  
  163.                 if (item.s == 2) {
  164.                     $("#chatbox_"+chatboxtitle+" .chatboxcontent").append('<div class="chatboxmessage"><span class="chatboxinfo">'+item.m+'</span></div>');
  165.                 } else {
  166.                     newMessages[chatboxtitle] = true;
  167.                     newMessagesWin[chatboxtitle] = true;
  168.                     $("#chatbox_"+chatboxtitle+" .chatboxcontent").append('<div class="chatboxmessage"><span class="chatboxmessagefrom">'+item.f+':&nbsp;&nbsp;</span><span class="chatboxmessagecontent">'+item.m+'</span></div>');
  169.                 }
  170.  
  171.                 $("#chatbox_"+chatboxtitle+" .chatboxcontent").scrollTop($("#chatbox_"+chatboxtitle+" .chatboxcontent")[0].scrollHeight);
  172.                 itemsfound += 1;
  173.             }
  174.         });
  175.  
  176.         chatHeartbeatCount++;
  177.  
  178.         if (itemsfound > 0) {
  179.             chatHeartbeatTime = minChatHeartbeat;
  180.             chatHeartbeatCount = 1;
  181.         } else if (chatHeartbeatCount >= 10) {
  182.             chatHeartbeatTime *= 2;
  183.             chatHeartbeatCount = 1;
  184.             if (chatHeartbeatTime > maxChatHeartbeat) {
  185.                 chatHeartbeatTime = maxChatHeartbeat;
  186.             }
  187.         }
  188.        
  189.         setTimeout('chatHeartbeat();',chatHeartbeatTime);
  190.     }});
  191. }
  192.  
  193. function closeChatBox(chatboxtitle) {
  194.     $('#chatbox_'+chatboxtitle).css('display','none');
  195.     restructureChatBoxes();
  196.  
  197.     $.post("chat.php?action=closechat", { chatbox: chatboxtitle} , function(data){ 
  198.     });
  199.  
  200. }
  201.  
  202. function toggleChatBoxGrowth(chatboxtitle) {
  203.     if ($('#chatbox_'+chatboxtitle+' .chatboxcontent').css('display') == 'none') {  
  204.        
  205.         var minimizedChatBoxes = new Array();
  206.        
  207.         if ($.cookie('chatbox_minimized')) {
  208.             minimizedChatBoxes = $.cookie('chatbox_minimized').split(/\|/);
  209.         }
  210.  
  211.         var newCookie = '';
  212.  
  213.         for (i=0;i<minimizedChatBoxes.length;i++) {
  214.             if (minimizedChatBoxes[i] != chatboxtitle) {
  215.                 newCookie += chatboxtitle+'|';
  216.             }
  217.         }
  218.  
  219.         newCookie = newCookie.slice(0, -1)
  220.  
  221.  
  222.         $.cookie('chatbox_minimized', newCookie);
  223.         $('#chatbox_'+chatboxtitle+' .chatboxcontent').css('display','block');
  224.         $('#chatbox_'+chatboxtitle+' .chatboxinput').css('display','block');
  225.         $("#chatbox_"+chatboxtitle+" .chatboxcontent").scrollTop($("#chatbox_"+chatboxtitle+" .chatboxcontent")[0].scrollHeight);
  226.     } else {
  227.        
  228.         var newCookie = chatboxtitle;
  229.  
  230.         if ($.cookie('chatbox_minimized')) {
  231.             newCookie += '|'+$.cookie('chatbox_minimized');
  232.         }
  233.  
  234.  
  235.         $.cookie('chatbox_minimized',newCookie);
  236.         $('#chatbox_'+chatboxtitle+' .chatboxcontent').css('display','none');
  237.         $('#chatbox_'+chatboxtitle+' .chatboxinput').css('display','none');
  238.     }
  239.    
  240. }
  241.  
  242. function checkChatBoxInputKey(event,chatboxtextarea,chatboxtitle) {
  243.      
  244.     if(event.keyCode == 13 && event.shiftKey == 0)  {
  245.         message = $(chatboxtextarea).val();
  246.         message = message.replace(/^\s+|\s+$/g,"");
  247.  
  248.         $(chatboxtextarea).val('');
  249.         $(chatboxtextarea).focus();
  250.         $(chatboxtextarea).css('height','44px');
  251.         if (message != '') {
  252.             $.post("chat.php?action=sendchat", {to: chatboxtitle, message: message} , function(data){
  253.                 message = message.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\"/g,"&quot;");
  254.                 $("#chatbox_"+chatboxtitle+" .chatboxcontent").append('<div class="chatboxmessage"><span class="chatboxmessagefrom">'+username+':&nbsp;&nbsp;</span><span class="chatboxmessagecontent">'+message+'</span></div>');
  255.                 $("#chatbox_"+chatboxtitle+" .chatboxcontent").scrollTop($("#chatbox_"+chatboxtitle+" .chatboxcontent")[0].scrollHeight);
  256.             });
  257.         }
  258.         chatHeartbeatTime = minChatHeartbeat;
  259.         chatHeartbeatCount = 1;
  260.  
  261.         return false;
  262.     }
  263.  
  264.     var adjustedHeight = chatboxtextarea.clientHeight;
  265.     var maxHeight = 94;
  266.  
  267.     if (maxHeight > adjustedHeight) {
  268.         adjustedHeight = Math.max(chatboxtextarea.scrollHeight, adjustedHeight);
  269.         if (maxHeight)
  270.             adjustedHeight = Math.min(maxHeight, adjustedHeight);
  271.         if (adjustedHeight > chatboxtextarea.clientHeight)
  272.             $(chatboxtextarea).css('height',adjustedHeight+8 +'px');
  273.     } else {
  274.         $(chatboxtextarea).css('overflow','auto');
  275.     }
  276.      
  277. }
  #2 (permalink)  
Antiguo 28/08/2012, 06:02
 
Fecha de Ingreso: agosto-2012
Mensajes: 12
Antigüedad: 11 años, 8 meses
Puntos: 0
Respuesta: Duda con javascript en chat

Código Javascript:
Ver original
  1. function startChatSession(){  
  2.     $.ajax({
  3.       url: "chat.php?action=startchatsession",
  4.       cache: false,
  5.       dataType: "json",
  6.       success: function(data) {
  7.  
  8.         username = data.username;
  9.  
  10.         $.each(data.items, function(i,item){
  11.             if (item)   { // fix strange ie bug
  12.  
  13.                 chatboxtitle = item.f;
  14.  
  15.                 if ($("#chatbox_"+chatboxtitle).length <= 0) {
  16.                     createChatBox(chatboxtitle,1);
  17.                 }
  18.                
  19.                 if (item.s == 1) {
  20.                     item.f = username;
  21.                 }
  22.  
  23.                 if (item.s == 2) {
  24.                     $("#chatbox_"+chatboxtitle+" .chatboxcontent").append('<div class="chatboxmessage"><span class="chatboxinfo">'+item.m+'</span></div>');
  25.                 } else {
  26.                     $("#chatbox_"+chatboxtitle+" .chatboxcontent").append('<div class="chatboxmessage"><span class="chatboxmessagefrom">'+item.f+':&nbsp;&nbsp;</span><span class="chatboxmessagecontent">'+item.m+'</span></div>');
  27.                 }
  28.             }
  29.         });
  30.        
  31.         for (i=0;i<chatBoxes.length;i++) {
  32.             chatboxtitle = chatBoxes[i];
  33.             $("#chatbox_"+chatboxtitle+" .chatboxcontent").scrollTop($("#chatbox_"+chatboxtitle+" .chatboxcontent")[0].scrollHeight);
  34.             setTimeout('$("#chatbox_"+chatboxtitle+" .chatboxcontent").scrollTop($("#chatbox_"+chatboxtitle+" .chatboxcontent")[0].scrollHeight);', 100); // yet another strange ie bug
  35.         }
  36.    
  37.     setTimeout('chatHeartbeat();',chatHeartbeatTime);
  38.        
  39.     }});
  40. }
  41.  
  42.  
  43. jQuery.cookie = function(name, value, options) {
  44.     if (typeof value != 'undefined') { // name and value given, set cookie
  45.         options = options || {};
  46.         if (value === null) {
  47.             value = '';
  48.             options.expires = -1;
  49.         }
  50.         var expires = '';
  51.         if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
  52.             var date;
  53.             if (typeof options.expires == 'number') {
  54.                 date = new Date();
  55.                 date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
  56.             } else {
  57.                 date = options.expires;
  58.             }
  59.             expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
  60.         }
  61.         // CAUTION: Needed to parenthesize options.path and options.domain
  62.         // in the following expressions, otherwise they evaluate to undefined
  63.         // in the packed version for some reason...
  64.         var path = options.path ? '; path=' + (options.path) : '';
  65.         var domain = options.domain ? '; domain=' + (options.domain) : '';
  66.         var secure = options.secure ? '; secure' : '';
  67.         document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
  68.     } else { // only name given, get cookie
  69.         var cookieValue = null;
  70.         if (document.cookie && document.cookie != '') {
  71.             var cookies = document.cookie.split(';');
  72.             for (var i = 0; i < cookies.length; i++) {
  73.                 var cookie = jQuery.trim(cookies[i]);
  74.                 // Does this cookie string begin with the name we want?
  75.                 if (cookie.substring(0, name.length + 1) == (name + '=')) {
  76.                     cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
  77.                     break;
  78.                 }
  79.             }
  80.         }
  81.         return cookieValue;
  82.     }
  83. };
No entro todo en un mensaje lo siento, ando un poco perdido pero me entiendo gracias a un amigo que me enseño este foro. un saludo y gracias de antemano.
  #3 (permalink)  
Antiguo 30/08/2012, 04:05
 
Fecha de Ingreso: agosto-2012
Mensajes: 12
Antigüedad: 11 años, 8 meses
Puntos: 0
Respuesta: Duda con javascript en chat

Me dado cuenta que cuando no me registra el usuario es al tener ya la ventana de chat abierta al contestar a alguien, me podeis dar una idea de que puede estar fallando?? por mas que busco en el codigo nose que puede andar mal. gracias un saludo.
  #4 (permalink)  
Antiguo 31/08/2012, 05:12
 
Fecha de Ingreso: agosto-2012
Mensajes: 12
Antigüedad: 11 años, 8 meses
Puntos: 0
Respuesta: Duda con javascript en chat

He descubierto que esta funcion es la que no me va bien si cambio un codigo me manda el id pero no salen los mensajes hasta que no actualizas la pagina alguien sabe por que falla y me puede ayudar?? gracias este es el codigo:
Código Javascript:
Ver original
  1. function chatHeartbeat(){
  2.  
  3.     var itemsfound = 0;
  4.    
  5.     if (windowFocus == false) {
  6.  
  7.         var blinkNumber = 0;
  8.         var titleChanged = 0;
  9.         for (x in newMessagesWin) {
  10.             if (newMessagesWin[x] == true) {
  11.                 ++blinkNumber;
  12.                 if (blinkNumber >= blinkOrder) {
  13.                     document.title = x+' dice...';/* AKI ES LO DE ARRIBA DEL TITULO*/
  14.                     titleChanged = 1;
  15.                     break; 
  16.                 }
  17.             }
  18.         }
  19.        
  20.         if (titleChanged == 0) {
  21.             document.title = originalTitle;
  22.             blinkOrder = 0;
  23.         } else {
  24.             ++blinkOrder;
  25.         }
  26.  
  27.     } else {
  28.         for (x in newMessagesWin) {
  29.             newMessagesWin[x] = false;
  30.         }
  31.     }
  32.  
  33.     for (x in newMessages) {
  34.         if (newMessages[x] == true) {
  35.             if (chatboxFocus[x] == false) {
  36.                 //FIXME: add toggle all or none policy, otherwise it looks funny
  37.                 $('#chatbox_'+x+' .chatboxhead').toggleClass('chatboxblink');
  38.             }
  39.         }
  40.     }
  41.    
  42.     $.ajax({
  43.       url: "chat.php?action=chatheartbeat",
  44.       cache: false,
  45.       dataType: "json",
  46.       success: function(data) {
  47.  
  48.         $.each(data.items, function(i,item){
  49.             if (item)   { // fix strange ie bug
  50.  
  51.                 chatboxtitle = item.f;
  52.  
  53.                 if ($("#chatbox_"+chatboxtitle).length <= 0) {
  54.                     createChatBox(chatboxtitle);
  55.                 }
  56.                 if ($("#chatbox_"+chatboxtitle).css('display') == 'none') {
  57.                     $("#chatbox_"+chatboxtitle).css('display','block');
  58.                     restructureChatBoxes();
  59.                 }
  60.                
  61.                 if (item.s == 1) {
  62.                     item.f = username;
  63.                 }
  64.  
  65.                 if (item.s == 2) {
  66.                     $("#chatbox_"+chatboxtitle+" .chatboxcontent").append('<div class="chatboxmessage"><span class="chatboxinfo">'+item.m+'</span></div>');
  67.                 } else {
  68.                     newMessages[chatboxtitle] = true;
  69.                     newMessagesWin[chatboxtitle] = true;
  70.                     $("#chatbox_"+chatboxtitle+" .chatboxcontent").append('<div class="chatboxmessage"><span class="chatboxmessagefrom">'+item.f+':&nbsp;&nbsp;</span><span class="chatboxmessagecontent">'+item.m+'</span></div>');
  71.                 }
  72.  
  73.                 $("#chatbox_"+chatboxtitle+" .chatboxcontent").scrollTop($("#chatbox_"+chatboxtitle+" .chatboxcontent")[0].scrollHeight);
  74.                 itemsfound += 1;
  75.             }
  76.         });
  77.  
  78.         chatHeartbeatCount++;
  79.  
  80.         if (itemsfound > 0) {
  81.             chatHeartbeatTime = minChatHeartbeat;
  82.             chatHeartbeatCount = 1;
  83.         } else if (chatHeartbeatCount >= 10) {
  84.             chatHeartbeatTime *= 2;
  85.             chatHeartbeatCount = 1;
  86.             if (chatHeartbeatTime > maxChatHeartbeat) {
  87.                 chatHeartbeatTime = maxChatHeartbeat;
  88.             }
  89.         }
  90.        
  91.         setTimeout('chatHeartbeat();',chatHeartbeatTime);
  92.     }});
  93. }
en este if:
if ($("#chatbox_"+chatboxtitle).length <= 0) {
createChatBox(chatboxtitle);
}
si lo cambio asi:
if ($("#chatbox_"+chatboxtitle).length <= 0) {
createChatBox(chatid);
}
Funciona pero no me yegan los mensajes hasta que no actualizo la web alguien sabe aq puede ser debido?? gracias.
  #5 (permalink)  
Antiguo 04/09/2012, 05:58
 
Fecha de Ingreso: agosto-2012
Mensajes: 12
Antigüedad: 11 años, 8 meses
Puntos: 0
Respuesta: Duda con javascript en chat

Nadie me puede ayudar?? es que yevo todo este tiempo buscando el fallo y no lo encuentro, si actualizo la web me aparecen los mensajes ya mandados bien pero tengo que andar actualizando cada vez que algien manda algo, se puede hacer esto con codigo y solo el el chat se actialice?? un saludo.
Por cierto lo e probado con el firefox con la consola web y me sale este error:
ReferenceError: chatboxtitle is not defined @ http://localhost/chat3/js/chat.js:87
que hace referencia a esta function nose como modificarla para que funcione ya que esta asi para que me salga el nombre.
function chatWith(chatuser, chatid) {
createChatBox(chatuser,chatid);
$("#chatbox_"+chatboxtitle+" .chatboxtextarea").focus();
}

Última edición por mario8; 04/09/2012 a las 06:12
  #6 (permalink)  
Antiguo 04/09/2012, 16:41
 
Fecha de Ingreso: diciembre-2011
Mensajes: 77
Antigüedad: 12 años, 4 meses
Puntos: 2
Respuesta: Duda con javascript en chat

hola amigo Mario, estoy dispuesto a ayudarte, pero la verdad es que necesito todo el código de la página y no solo las fucnciones js.
Mi email es ericklanford(arroba)ati.une.cu mándame la página completa para probarla y de ahí seguro q te puedo ayudar. saludos, Erick.
  #7 (permalink)  
Antiguo 05/09/2012, 04:31
 
Fecha de Ingreso: agosto-2012
Mensajes: 12
Antigüedad: 11 años, 8 meses
Puntos: 0
Respuesta: Duda con javascript en chat

Cita:
Iniciado por ericklanford Ver Mensaje
hola amigo Mario, estoy dispuesto a ayudarte, pero la verdad es que necesito todo el código de la página y no solo las fucnciones js.
Mi email es ericklanford(arroba)ati.une.cu mándame la página completa para probarla y de ahí seguro q te puedo ayudar. saludos, Erick.
ya te mande los archivos gracias, ya me diras si te yego. un saludo.

Etiquetas: ajax, chat, html, input, javascript, js, php, select
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 23:56.