rem: folderDisplayElement.setAttribute( "value", fileSpec.nativePath ); 
add:  clearFolderDisplay(); var value = document.createTextNode( fileSpec.nativePath ); folderDisplayElement.appendChild( value ); 
context: function updateProfileName(){  var profileName = document.getElementById( "ProfileName" );  var folderDisplayElement = document.getElementById( "ProfileDir" );  var rootFolder = folderDisplayElement.getAttribute( "rootFolder" );  try {    var fileSpec = Components.classes["component://netscape/filespec"].createInstance();    if ( fileSpec )      fileSpec = fileSpec.QueryInterface( Components.interfaces.nsIFileSpec );    if ( fileSpec )      fileSpec.nativePath = rootFolder;    fileSpec.appendRelativeUnixPath( profileName.value );    folderDisplayElement.setAttribute( "value", fileSpec.nativePath );  }  catch(e) {  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5aeca7e4a65ed1f9944a3c608e8734d3f276e920/newProfile1_2.js/clean/profile/resources/content/newProfile1_2.js