Question: ```
$(window).bind("beforeunload",function(){
    return "cant be seen in ff";
});

```

The problem is that i can't see the "cant be seen in ff" on the confirm box in my FireFox browser, but works well in other browsers(IE Chrome)

Any solutions??

Answer: 
```
confirmOnPageExit : function( display ) {
      if ( true == display ) {
        var message;
        /* if unsaved changes exist, display a warning */
        if (false !== form_structure.unsaved_changes) {
            message = 'Warning!  Changes to the form builder have not been saved.';
                     return message;
        }
      }
},

window.onbeforeunload = confirmOnPageExit( false );

```
do this 

```
<script>
    window.onbeforeunload = function(){
         return "cant be seen in ff";
    }
</script>

```