variable i no me funciona en buble for

Este es mi script: <script> $ (document).ready(function(){ var dias=[‘li.lunes’,’li.martes’,’li.miercoles’,’li.jueves’,’li.viernes’]; var acciones=[‘.lunes p’,’.martes p’,’.miercoles p’,’.jueves p’,’.viernesp’]; for(var i=0;i<=dias.length;i++){ $ (dias[i]).hover(function(){ alert (acciones[i]); $ (acciones[i]).addClass(‘mostrar’);},function(){ $ (acciones[i]).removeClass(‘mostrar’); }); } }); </script> ****La…

rearrangement of lists of strings

I have a list: lis = {{“abc”,”def”,”ghi”},{“jkl”,”mno”}} and wish to get: res = {“abc def ghi”,”jkl mno”} This: Table[StringJoin[lis[[i]]], {i, Length[lis]}] doesn’t produce the desired ” ” between the original…