Buen dia a todos, tengo el siguiente problema actualmente estoy creando un plugin, entonces en varios textareas coloco cierta informacion, entonces el problema es que cuando quiero que toda esa informacion pase al textarea de vbulletin(editor de vbulletin) no lo pasa no funciona, el cual tiene el nombre de vB_edito_001_textarea, no se como arreglarlo, pongo un poco de mi codigo jeje xD.
Campo donde ingreso info:
Boton, que llama la funcion:Código HTML:<div><strong>Titulo:</strong> <div><input id="title" value="" maxlength="60" size="60" type="text" /></div>
Scrip que hace la funcion de generar y pasarlo al textarea de vbulletin:Código HTML:<div> <a class='button' onclick="postwg();return false;" id="cont" style="display: none; cursor:pointer; cursor:hand" href="#"><span>Generar Codigo!</span></a> </div>P.D: En google chrome si funciona, pero en los demas navegadores no funciona.Código HTML:function postwg() { var txt = ""; document.getElementById("vB_Editor_001_textarea").value = ""; if (document.getElementById("title").value != ""){ txt += "[SIZE=\"5\"][b][u][color=red]"; txt += document.getElementById("title").value; txt += "[/color\][/u][/b][/SIZE]\n\n"; document.getElementById("vB_Editor_001_textarea").value += txt;}
Temas Similares:


LinkBack URL
About LinkBacks
Responder Citando