[CLOSED] Special characters dosen't works in message box in IE8

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Special characters dosen't works in message box in IE8

    Hi,
    I implemented a js function that itterates a string and dispaly a notification to inform user that the string contains special characters this is the code below :
    var getSelectedFile = function (fieldID) {
        var iChars = "\/:*?\"'<>|#{}%~&";
        for (var i = 0; i < fieldID.getValue().length; i++) {
            if (iChars.indexOf(fieldID.getValue().charAt(i)) != -1) {
                            Ext.Msg.show({
                                title: 'Warning',
                                msg: getFileUploadSpecialCharacterErrorMsg() + fieldID.getValue().charAt(i),
                                buttons: { 
                                            ok: 'ok', 
                                         },
                                closable:false,
                                icon: Ext.MessageBox.WARNING,
                                fn: function(btn) {
                                     if (btn == 'ok') {
                                     fieldID.clear();
                                }
                                }
                            });
                return false;
            }
        }
    };
    This is the screent short [Msg missed the special character]
    Click image for larger version. 

Name:	screen shot msg box.png 
Views:	4 
Size:	4.6 KB 
ID:	4572
    Last edited by Daniil; Aug 03, 2012 at 12:20 PM. Reason: [CLOSED]

Similar Threads

  1. Replies: 24
    Last Post: Aug 06, 2012, 11:26 AM
  2. [CLOSED] ColumnName with Special Characters in GridPanel
    By UnifyEducation in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 07, 2012, 7:12 PM
  3. Replies: 1
    Last Post: Apr 03, 2012, 9:42 PM
  4. Replies: 0
    Last Post: Jun 11, 2010, 2:04 AM
  5. [CLOSED] Turkish special characters problem
    By tansu in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: May 26, 2009, 12:01 PM

Posting Permissions