Replace

wxdqz

New Member
I have the code:


function AddText(form, Action){
var AddTxt="";
var txt="";

if(Action==7){
var fonts=form.font.value;
var change=txt.replace(+fonts);
AddTxt=change;
}

form.Text1.value+=AddTxt;
}


However the CHANGE variable doesn't seem to work. Can anyone help me?

Thanks
 
Back
Top