Uso degli script del tipo:

Codice PHP:
function addFilm(tagNamef) {
    var 
txtarea document.post.textbody;
    
txtarea.focus();
    
theSelection false;
    
theSelection document.selection.createRange().text// Get text selection
    
    
if (theSelection) {
        
// Add tags around selection
        
document.selection.createRange().text "“[b][i]" theSelection "[/i][/b]”";
        
txtarea.focus();
        
theSelection '';
        return;
        
storeCaret(txtarea);
    } else {
        var 
elem=f.textbody;
        
what "a";
         if(
what!="undefined"elem.value+=" “ &rdquo";
    }

richiamati poi con input del tipo:

Codice PHP:
<input type="button" class="button" onclick="addTag('a',this.form);" style="width: 80px" name="aButton" value="Link esterno" /> 
Solo che funzionano solo con Explorer. Cosa devo fare per farli funzionare anche con Mozilla?

Grazie