Link to home
Start Free TrialLog in
Avatar of lulu50
lulu50Flag for United States of America

asked on

How can I transfer data from the dialog box to the parent window?

Hello,

How can I transfer data from the dialog box to the parent window?

I need your help.

I have a parent window and a popup window

1. user open popup window
2. the popup window has a textarea
3. the values that are in the textarea needs to go back to the parent textarea.

I don't know what I'm doing wrong.

Text area in the parent window: 

 @Html.TextArea("ConditionAttributesAndValues", new { @class = "form-control", @style = "width:77%" })

My dialog box in the parent window:

$(function () {
            $('#dialog').dialog({
                autoOpen: false,
                width: 950,
                height:650,
                resizable: true,
                title: 'Condition',
                modal: true,
                open: function(event, ui) {
                    $(this).load("@Url.Action("RulePartialView", "CareAdvanceBusinessRules")")
                    $(".ui-dialog-titlebar-close").hide();
                },
                buttons: {
                    "Close": function () {
                        $(this).dialog("close");
                    }
                },
                closeOnEscape: false,
            });
            $("#opener").click(function (event) {
                event.preventDefault(); 
                $("#dialog").dialog("open");
            });
        });

Open in new window


This is what I have in the dialog box: 

// Here where I need the help 
// I want what ever I have in the textarea to be sent to the parent textarea. 

     $("#AppendConditionToParentBtn").click(function () {
            $('#ContidionsAndAttributesTextArea').text(window.opener.$("#ConditionAttributesAndValues").val());
            $('#dialog').dialog('close');
            return true;
        });

 <button id="AppendConditionToParentBtn" name="AppendConditionToParentBtn" class="btn btn-default" type="button" style="margin-top:10px;margin-bottom:10px;" value="Append">
                        Submit 
                    </button>

Open in new window


I'm getting this error

Unhandled exception at line 513, column 13 in eval code

0x800a138f - JavaScript runtime error: Unable to get property '$' of undefined or null reference
Avatar of leakim971
leakim971
Flag of Guadeloupe image

could you post the whole JS code?
Avatar of lulu50

ASKER

Hi leakim971,



My parent HTML code: 

<html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><style id="ace-idle-fingers">.ace-idle-fingers .ace_gutter {background: #3b3b3b;color: rgb(153,153,153)}.ace-idle-fingers .ace_print-margin {width: 1px;background: #3b3b3b}.ace-idle-fingers {background-color: #323232;color: #FFFFFF}.ace-idle-fingers .ace_cursor {color: #91FF00}.ace-idle-fingers .ace_marker-layer .ace_selection {background: rgba(90, 100, 126, 0.88)}.ace-idle-fingers.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #323232;}.ace-idle-fingers .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-idle-fingers .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-idle-fingers .ace_marker-layer .ace_active-line {background: #353637}.ace-idle-fingers .ace_gutter-active-line {background-color: #353637}.ace-idle-fingers .ace_marker-layer .ace_selected-word {border: 1px solid rgba(90, 100, 126, 0.88)}.ace-idle-fingers .ace_invisible {color: #404040}.ace-idle-fingers .ace_keyword,.ace-idle-fingers .ace_meta {color: #CC7833}.ace-idle-fingers .ace_constant,.ace-idle-fingers .ace_constant.ace_character,.ace-idle-fingers .ace_constant.ace_character.ace_escape,.ace-idle-fingers .ace_constant.ace_other,.ace-idle-fingers .ace_support.ace_constant {color: #6C99BB}.ace-idle-fingers .ace_invalid {color: #FFFFFF;background-color: #FF0000}.ace-idle-fingers .ace_fold {background-color: #CC7833;border-color: #FFFFFF}.ace-idle-fingers .ace_support.ace_function {color: #B83426}.ace-idle-fingers .ace_variable.ace_parameter {font-style: italic}.ace-idle-fingers .ace_string {color: #A5C261}.ace-idle-fingers .ace_string.ace_regexp {color: #CCCC33}.ace-idle-fingers .ace_comment {font-style: italic;color: #BC9458}.ace-idle-fingers .ace_meta.ace_tag {color: #FFE5BB}.ace-idle-fingers .ace_entity.ace_name {color: #FFC66D}.ace-idle-fingers .ace_collab.ace_user1 {color: #323232;background-color: #FFF980}.ace-idle-fingers .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjLyZYiPj/8PAAreAwAI1+g0AAAAAElFTkSuQmCC) right repeat-y}
/*# sourceURL=ace/css/ace-idle-fingers */</style><style>    .error_widget_wrapper {        background: inherit;        color: inherit;        border:none    }    .error_widget {        border-top: solid 2px;        border-bottom: solid 2px;        margin: 5px 0;        padding: 10px 40px;        white-space: pre-wrap;    }    .error_widget.ace_error, .error_widget_arrow.ace_error{        border-color: #ff5a5a    }    .error_widget.ace_warning, .error_widget_arrow.ace_warning{        border-color: #F1D817    }    .error_widget.ace_info, .error_widget_arrow.ace_info{        border-color: #5a5a5a    }    .error_widget.ace_ok, .error_widget_arrow.ace_ok{        border-color: #5aaa5a    }    .error_widget_arrow {        position: absolute;        border: solid 5px;        border-top-color: transparent!important;        border-right-color: transparent!important;        border-left-color: transparent!important;        top: -5px;    }</style><style id="ace-tm">.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}
/*# sourceURL=ace/css/ace-tm */</style><style id="ace_editor.css">.ace_br1 {border-top-left-radius    : 3px;}.ace_br2 {border-top-right-radius   : 3px;}.ace_br3 {border-top-left-radius    : 3px; border-top-right-radius:    3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius    : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius   : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius    : 3px; border-top-right-radius:    3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius    : 3px; border-bottom-left-radius:  3px;}.ace_br10{border-top-right-radius   : 3px; border-bottom-left-radius:  3px;}.ace_br11{border-top-left-radius    : 3px; border-top-right-radius:    3px; border-bottom-left-radius:  3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius:  3px;}.ace_br13{border-top-left-radius    : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius:  3px;}.ace_br14{border-top-right-radius   : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius:  3px;}.ace_br15{border-top-left-radius    : 3px; border-top-right-radius:    3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_editor {position: relative;overflow: hidden;font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;direction: ltr;text-align: left;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;box-sizing: border-box;min-width: 100%;contain: style size layout;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: '';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;contain: style size layout;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {position: absolute;top: 0;left: 0;right: 0;padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {contain: strict;position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;contain: strict;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: transparent;color: inherit;z-index: 1000;opacity: 1;}.ace_composition_placeholder { color: transparent }.ace_composition_marker { border-bottom: 1px solid;position: absolute;border-radius: 0;margin-top: 1px;}[ace_nocontext=true] {transform: none!important;filter: none!important;perspective: none!important;clip-path: none!important;mask : none!important;contain: none!important;perspective: none!important;mix-blend-mode: initial!important;z-index: auto;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;height: 1000000px;contain: style size layout;}.ace_text-layer {font: inherit !important;position: absolute;height: 1000000px;width: 1000000px;contain: style size layout;}.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {contain: style size layout;position: absolute;top: 0;left: 0;right: 0;}.ace_hidpi .ace_text-layer,.ace_hidpi .ace_gutter-layer,.ace_hidpi .ace_content,.ace_hidpi .ace_gutter {contain: strict;will-change: transform;}.ace_hidpi .ace_text-layer > .ace_line, .ace_hidpi .ace_text-layer > .ace_line_group {contain: strict;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {transition: opacity 0.18s;}.ace_animate-blinking .ace_cursor {animation-duration: 1000ms;animation-timing-function: step-end;animation-name: blink-ace-animate;animation-iteration-count: infinite;}.ace_animate-blinking.ace_smooth-blinking .ace_cursor {animation-duration: 1000ms;animation-timing-function: ease-in-out;animation-name: blink-ace-animate-smooth;}@keyframes blink-ace-animate {from, to { opacity: 1; }60% { opacity: 0; }}@keyframes blink-ace-animate-smooth {from, to { opacity: 1; }45% { opacity: 1; }60% { opacity: 0; }85% { opacity: 0; }}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;box-sizing: border-box;}.ace_line .ace_fold {box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block;   }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_inline_button {border: 1px solid lightgray;display: inline-block;margin: -1px 8px;padding: 0 5px;pointer-events: auto;cursor: pointer;}.ace_inline_button:hover {border-color: gray;background: rgba(200,200,200,0.2);display: inline-block;pointer-events: auto;}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}
/*# sourceURL=ace/css/ace_editor.css */</style>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=11">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Rule Detail</title>
    <link href="/Content/CWScss/jquery-ui.min.css" rel="stylesheet">
<link href="/Content/CWScss/jquery.ui.all.css" rel="stylesheet">
<link href="/Content/Chosen/chosen.min.css" rel="stylesheet">
<link href="/Content/CWScss/datatables.min.css" rel="stylesheet">
<link href="/Content/CWScss/datatables.css" rel="stylesheet">
<link href="/Content/bootstrap/bootstrap.min.css" rel="stylesheet">
<link href="/Content/bootstrap/bootstrap-theme.min.css" rel="stylesheet">
<link href="/Content/bootstrap/bootstrap-select.css" rel="stylesheet">
<link href="/Content/bootstrap/bootstrap-datetimepicker.min.css" rel="stylesheet">
<link href="/Content/CWScss/theme.css" rel="stylesheet">
<link href="/Content/CWScss/master.css" rel="stylesheet">

    <script src="/Scripts/jquery-1.7.2.min.js"></script>
<script src="/Scripts/jquery-ui-1.8.19.min.js"></script>
<script src="/Scripts/jquery-ui-timepicker-addon.js"></script>
<script src="/Scripts/jquery.unobtrusive-ajax.min.js"></script>
<script src="/Scripts/jquery.validate.js"></script>
<script src="/Scripts/jquery.min.js"></script>
<script src="/Scripts/jquery.inputmask.js"></script>
<script src="/Scripts/jquery.tabify.js"></script>
<script src="/Scripts/moment.js"></script>
<script src="/Scripts/moment.min.js"></script>
<script src="/Scripts/bootstrap.min.js"></script>
<script src="/Scripts/bootstrap-datetimepicker.min.js"></script>
<script src="/Scripts/bootstrap-datepicker.min.js"></script>
<script src="/Scripts/datatables.js"></script>
<script src="/Scripts/datatables.min.js"></script>


    <link type="text/css" rel="stylesheet" href="/Content/CWScss/jquery-ui.css">
     <script type="text/javascript" src="/Scripts/jquery-ui2.js"></script>


    <style id="compiled-css" type="text/css">
        .ui-menu {
          height:auto;
          overflow :hidden;
          min-height:100px;
        }

        .ui-menu .ui-menu-item-wrapper{
            float:left;
        }
  
        .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover{
            color:#0144af;
        }
    </style>


    <script type="text/javascript">
        $(window).load(function () {
            $('.loader').fadeOut('slow');
        })

        $(document).ready(function () {

            $("#menu").menu();
            $('#HideShowMenu').hide();
            $('.showhideAddRuleImg').hide();
            

           // debugger;    

            var URLname = document.location.href.match(/[^\/]+$/)[0];
            var pathArray = window.location.pathname.split('/');
            var secondLevelLocation = pathArray[2];
         
            if (URLname == "Rule" || secondLevelLocation == "Rule") {
                $("#collapsesix").addClass("in");
                $('#RuleMenuDiv').attr('style', 'color: #5cb85c !important; font-weight: bold');
                $('#HideShowMenu').show();
                $('.showhideAddRuleImg').show();
            }
            else if (URLname == "Function") {
                $("#collapsesix").addClass("in");
                $('#FunctionMenuDiv').attr('style', 'color: #5cb85c !important; font-weight: bold');
                $('#Menu').hide();
            } else if (URLname == "Group") {
                $("#collapsesix").addClass("in");
                $('#GroupMenuDiv').attr('style', 'color: #5cb85c !important; font-weight: bold');
            } else if (URLname == "Range") {
                $("#collapsesix").addClass("in");
                $('#RangeMenuDiv').attr('style', 'color: #5cb85c !important; font-weight: bold');
            } else if (URLname == "Search") {
                $("#collapsesix").addClass("in");
                $('#SearchMenuDiv').attr('style', 'color: #5cb85c !important; font-weight: bold');
            } else if (URLname == "Management") {
                $("#collapsesix").addClass("in");
                $('#ManagementMenuDiv').attr('style', 'color: #5cb85c !important; font-weight: bold');
        }

        });
    </script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.5/theme-idle_fingers.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.5/mode-html.js"></script></head>
<body>
    <div style="background-color:#f4f4f4; width:100%;height:100%;">
        <div class="navbar  navbar-fixed-top " style="position:relative;margin-bottom:0px;">
            <!-- begin -->
            <div class="container-fluid " style="height:70px;">
                <div class="navbar-header ">
                    <a href="#" class="navbar-brand"><img src="../Content/images/BCBSM_Logo.png" alt="Logo"></a>
                </div>
                <div class="" id="navbar2" style="font-weight:bold; color:#0144aF; font-size:x-large; float:left;margin-top:10px;margin-left:50px;">
                    BUSINESS CONFIGURATION UNIT CWS (QA) <br> <p style="float:left; font-size:x-small;"> Version 22.3.1 </p>
                   
                </div>
                <div class="navbar-collapse collapse" id="navbar" style="background-image:url(~/Content/images/bg.png);">
                    <ul class="nav navbar-nav top-nav navbar-right">
                        <li>
                            <table class="img-rounded">
                                <tbody><tr>
                                    <td style="padding-right:20px;color:#0144af;">
                                        Welcome <span>
                                            
                                        </span>
                                    </td>
                                    <td style="padding-right:20px;">
                                        <div class="form-group ">
                                            <div class="input-group" style="margin-top:5px;">
                                                <input class="form-control" id="email" name="email" type="text" style="font-weight:normal;font-size:12px;">
                                                <div class="input-group-addon" style="width:10px;">
                                                    <span class="glyphicon glyphicon-search"></span>
                                                </div>
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="text-align:right;padding-right:20px;color:#0144af;">
                                        <a href="mailto:BCNBusinessConfiguration@BCBSM.com?subject= Email From CWS" style="color:#0144af;">
                                            Contact Us
                                        </a>| <a href="/Account/Help" aria-l="aria-l" aria-label="account">
                                            Help
                                        </a>|
                                        <a href="/Account/Logout" aria-l="aria-l" aria-label="account">logout</a>
                                    </td>
                                </tr>
                            </tbody></table>
                        </li>
                    </ul>
                </div>
            </div>
            <div style="clear:both;"></div>
            <!-- End -->

            <div style="background-color:#0144af;">
                <ul class="nav-below clearfix" style="padding:2px 5px;margin-top: 14px; ">
                    <li class=""><a href="/Home/Index" aria-label="home" style="text-decoration:none;">Home</a></li>
                        <li class="dropdown">
                            <a class="dropdown-toggle" data-toggle="dropdown" href="#" style="text-decoration:none;">Facets Requests<span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="./FacetsRequest/PricingGeneral" style="color:#0144af;"> Pricing General</a></li>
                                <li><a href="./FacetsRequest/PricingFeeSchedule"> Pricing Fee Schedule</a></li>
                                <li><a href="./FacetsRequest/Security"> Security  </a></li>
                                <li><a href="./FacetsRequest/Product"> Product </a></li>
                                <li><a href="./FacetsRequest/Benefits"> Benefits </a></li>
                                <li><a href="./FacetRequest/Miscellaneous"> Miscellaneous </a></li>
                                <li><a href="./FacetRequest/FacetsTCSLetter">TCS Letter</a></li>
                                <li><a href="./FacetRequest/TechRequest">Tech Request</a></li>
                            </ul>
                        </li>
                   
                </ul>
            </div>
        </div>

        <table>
            <tbody><tr>
                <td valign="top">
                    <div class="box" style="width: 180px; float: left; height: 100%;">
                        <div class="panel-group" id="accordion" style="width: 100%; margin-bottom: 5px;">

                                <div class="panel panel-default" style="width: 100%;">
                                    <div class="panel-heading" style="width: 100%;">
                                        <h4 class="panel-title" style="width: 100%;">
                                            <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" style="width: 100%; font-weight: bold; color: #0144af;">
                                                Adminstrative Tools
                                            </a>
                                        </h4>
                                    </div>
                                    <div id="collapseOne" class="panel-collapse collapse">
                                        <div>
                                            <table class="table">
                                                <tbody><tr>
                                                    <td>
                                                        <a href="../ManageUser/Index">User Registration Center</a>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <a href="../ManageUser/TypePrivileges">User Types and Privileges</a>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <a href="../Admin/AdminTableMaintainence">Admin Table Maintenance</a>
                                                    </td>
                                                </tr>
                                            </tbody></table>
                                        </div>
                                    </div>
                                </div>




                                <div class="panel panel-default" style="width: 100%;">
                                    <div class="panel-heading" style="width: 100%;">
                                        <h4 class="panel-title" style="width: 100%;">
                                            <a data-toggle="collapse" data-parent="#accordion" href="#collapsesix" style="width: 100%; font-weight: bold; color: #0144af;">
                                                CAE Business Rules
                                            </a>
                                        </h4>
                                    </div>
                                    <div id="collapsesix" class="panel-collapse collapse in" style="width: 100%;">
                                            <table class="table" style="width: 100%; ">
                                                <tbody><tr>
                                                    <td>
                                                        <a id="RuleMenuDiv" href="/CareAdvanceBusinessRules/Rule/0?ShowHide=0" style="color: #5cb85c !important; font-weight: bold">Rule</a>
                                                            <img class="showhideAddRuleImg" src="/Content/images/add.png" sizes="17px;" title="Add Rule Set" style="display: inline;">
                                                        <img class="showhideAddRuleImg" src="/Content/images/delete.png" title="Delete Rule Set" sizes="17px;" style="display: inline;">    
                                                    </td>
                                                </tr>
                                                <tr id="HideShowMenu" style="display: table-row;">
                                                    <td style="padding:0px;">
                                                        
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/1?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">BCBSM Inpatient UM</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/1?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete BCBSM Inpatient UM" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/3?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">BCBSM PreAuthorzation Ruleset</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/3?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete BCBSM PreAuthorzation Ruleset" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/4?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">BCBSM Ruleset</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/4?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete BCBSM Ruleset" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/5?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">BCBSM Validate Case Ruleset</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/5?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete BCBSM Validate Case Ruleset" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/6?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">BCBSM Validate Case Ruleset PreAuth</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/6?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete BCBSM Validate Case Ruleset PreAuth" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/7?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">BCBSM Validate LOS Rules</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/7?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete BCBSM Validate LOS Rules" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/8?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">BCBSM Validate Member Rules</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/8?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete BCBSM Validate Member Rules" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/9?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">BCBSM Validate Service Rules</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/9?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete BCBSM Validate Service Rules" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/10?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">BCBSM_Questionnaire_Display_Ruleset</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/10?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete BCBSM_Questionnaire_Display_Ruleset" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/11?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">BCBSM_UM_Vendors</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/11?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete BCBSM_UM_Vendors" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/12?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">BCBSM_UM_Vendors_Approvals</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/12?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete BCBSM_UM_Vendors_Approvals" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/13?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">BCBSM_UM_Vendors_Letters</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/13?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete BCBSM_UM_Vendors_Letters" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/14?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Blended Ruleset</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/14?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Blended Ruleset" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/15?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">ByPass Rules</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/15?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete ByPass Rules" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/16?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Derived Case Ruleset</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/16?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Derived Case Ruleset" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/17?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Functions and Computations</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/17?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Functions and Computations" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/18?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Global Referral Rules</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/18?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Global Referral Rules" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/19?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Inpatient Auto Approval Rules</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/19?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Inpatient Auto Approval Rules" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/20?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Inpatient BH Rules</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/20?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Inpatient BH Rules" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/21?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Inpatient General Ruleset</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/21?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Inpatient General Ruleset" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/22?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Inpatient Routing Rules</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/22?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Inpatient Routing Rules" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/23?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">OSCMain</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/23?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete OSCMain" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/24?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">OSCPreAuth</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/24?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete OSCPreAuth" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/25?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Outpatient BH All Services</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/25?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Outpatient BH All Services" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/26?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Outpatient BH Primary</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/26?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Outpatient BH Primary" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/27?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Outpatient Routing</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/27?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Outpatient Routing" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/28?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">PreAuthCheck Rules</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/28?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete PreAuthCheck Rules" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/29?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">PreAuthorization Ruleset</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/29?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete PreAuthorization Ruleset" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/30?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Questionnaire Blended Routing</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/30?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Questionnaire Blended Routing" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/31?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Questionnaire Display Rules</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/31?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Questionnaire Display Rules" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/32?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Questionnaire Outpatient Routing</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/32?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Questionnaire Outpatient Routing" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/33?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Questionnaire Results</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/33?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Questionnaire Results" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/34?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Questionnaire Robotic Adjustments</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/34?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Questionnaire Robotic Adjustments" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/35?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Validate Case Rules</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/35?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Validate Case Rules" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/36?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Validate LOS Rules</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/36?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Validate LOS Rules" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/37?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Validate Member Rules</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/37?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Validate Member Rules" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>
        <div class="btn btn-default" style="display:flex; flex-direction:column;text-align:left;padding-left:10px;border-radius:0px;width:176px;">
            <a href="/CareAdvanceBusinessRules/Rule/38?ShowHide=0" style="float:left;white-space:pre-wrap; word-wrap:break-word;line-height:17px;">Validate Service Rules</a>
           
        </div>
        <div class="btn btn-default" style="padding:0px; width:100%;">
            <div class="btn btn-default" style="padding:0px;">
                <a href="/CareAdvanceBusinessRules/Rule/38?ShowHide=1">
                    <img src="/Content/images/Add.png" sizes="17px;" title="Add Rule Identifier">
                </a>
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/delete.png" title="Delete Validate Service Rules" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/EditPen.png" title="Edit Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/duplicateIcon.png" title="Duplicate Rule Identifier" sizes="17px;">
            </div>
            <div class="btn btn-default" style="padding:0px;">
                <img src="/Content/images/viewIcon.png" title="View Rule Identifier" sizes="17px;">
            </div>
      </div>
      <div class="clear:both"></div>





            

            



            



            


            

                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <a id="FunctionMenuDiv" href="/CareAdvanceBusinessRules/Function">Function</a>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <a id="GroupMenuDiv" href="/CareAdvanceBusinessRules/Group">Group</a>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <a id="SearchMenuDiv" href="/CareAdvanceBusinessRules/Search">Search</a>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <a id="ManagementMenuDiv" href="/CareAdvanceBusinessRules/Management">Management</a>
                                                    </td>
                                                </tr>
                                            </tbody></table>
                                    </div>
                                </div>










                        </div>
                    </div>
                </td>
                <td valign="top" style="width:100%">

                    <div class="container-fluid" style="padding-right: 20px; padding-left: 0px;">
                        


<link href="/Content/bootstrap-multiselect.css" rel="stylesheet" type="text/css">
<script src="/Scripts/bootstrap-multiselect.js" type="text/javascript"></script>

<link type="text/css" rel="stylesheet" href="/Content/CWScss/jodit.min.css">
<script type="text/javascript" src="/Scripts/jodit.min.js"></script>



<script>
    $(document).ready(function () {

        // debugger;
        $("#FileCount").val("");

        $('#UploadFileDiv').hide();
        $('#RuleCommentsDiv').hide();
        $('#ActionAttributesDiv').hide();
        $('#ConditionAttributesDiv').hide();
        $('#RuleDescriptionDiv').hide();

        $('#RuleDetailprtDiv').hide();
        $('#RuleDetailchldDiv').hide();
        $('#SubmitDiv').hide();
        $('#ValidateDescription').hide();
        $('#ValidateConditionAttributesAndValues').hide();
        $('#ValidateActionAttributesAndValues').hide();

        $('#RuleIdentifierRequiredDiv').hide();
        $('#IsActiveRequiredDiv').hide();
        $('#VersionRequiredDiv').hide();
        $('#EnvironmentRequiredDiv').hide();
        $('#CQTicketRequiredDiv').hide();



        function getOptions(isFilter) {
            return {
                enableFiltering: isFilter,
                enableCaseInsensitiveFiltering: isFilter,
                filterPlaceholder: 'Search ...',
                nonSelectedText: 'Check an option!',
                numberDisplayed: 1,
                maxHeight: 600,
                buttonWidth: '400px'
            }
        }

        function getOptions2(isFilter) {
            return {
                buttonWidth: '300px'
            }
        }

        $('#RuleIdentifierDropdownListID').multiselect(getOptions(true));
        $('#Environment').multiselect(getOptions2(true));

        //debugger;
        if( 1 != ""
            && 1 != null
            && 1 != undefined
            && 1 == 1
            )
        {
            $('#UploadFileDiv').show();
            $('#RuleCommentsDiv').show();
            $('#ActionAttributesDiv').show();
            $('#ConditionAttributesDiv').show();
            $('#RuleDescriptionDiv').show();
            $('#RuleDetailprtDiv').show();
            $('#RuleDetailchldDiv').show();
            $('#SubmitDiv').show();
            $('.showhideRuleSetName').show();
            $('#showhideRuleIdentifierName').hide();

        }
        else
        {
            $('.showhideRuleSetName').hide();
            $('#UploadFileDiv').hide();
            $('#RuleCommentsDiv').hide();
            $('#ActionAttributesDiv').hide();
            $('#ConditionAttributesDiv').hide();
            $('#RuleDescriptionDiv').hide();
            $('#RuleDetailprtDiv').hide();
            $('#RuleDetailchldDiv').hide();
            $('#SubmitDiv').hide();
            $('.RuleSetClass').show();

        }

        var maxLength900 = 900;
        $('#RuleDescription').keyup(function () {
            var textlen = maxLength900 - $(this).val().length;
            $('#rcharsDescription').text(textlen);

            if ($("#Description").val() != '') {
                $('#ValidateDescription').hide();
            }
            else {
                $('#ValidateDescription').show();
            }
        });


        $('#CommentOrNotes').keyup(function () {
            var textlen = maxLength900 - $(this).val().length;
            $('#rcharsCommentsNotes').text(textlen);
        });



        jQuery(function () {
            var maxLength4000 = 4000;
            $(document).on("keyup paste touchend", function () {
                var text = $("#ConditionAttributesAndValues").val();
                var textlen = maxLength4000 - text.length;
                if (text.length > 4000) {
                    editor.value = text.substr(0, 4000);
                }
                $('#rcharsConditionAttributesAndValues').text(textlen);

                if ($("#ConditionAttributesAndValues").val() != '') {
                    $('#ValidateConditionAttributesAndValues').hide();
                }
                else {
                    $('#ValidateConditionAttributesAndValues').show();
                }
            });
            var editor = new Jodit("#ConditionAttributesAndValues");
        });



        jQuery(function () {
            var maxLength4000 = 4000;
            $(document).on("keyup paste touchend", function () {
                var text = $("#ActionAttributesAndValues").val();
                var textlen = maxLength4000 - text.length;
                if (text.length > 4000) {
                    editor.value = text.substr(0, 4000);
                }
                $('#rcharsActionAttributesAndValues').text(textlen);

                if ($("#ActionAttributesAndValues").val() != '') {
                    $('#ValidateActionAttributesAndValues').hide();
                }
                else {
                    $('#ValidateActionAttributesAndValues').show();
                }
            });
            var editor = new Jodit("#ActionAttributesAndValues");
        });




        $("#RuleIdentifier").keyup("input", function () {
            if ($("#RuleIdentifier").val() != '') {
                $('#RuleIdentifierRequiredDiv').hide();
            }
            else {
                $('#RuleIdentifierRequiredDiv').show();
            }
        });


        //$("#IsActive").click(function(){
        //    if($(this).is(":checked")){
        //        $('#IsActiveRequiredDiv').hide();
        //    }
        //    else if($(this).is(":not(:checked)")){
        //        $('#IsActiveRequiredDiv').show();
        //   }
        //   });



    

        $("#Version").keyup("input", function () {
            if ($("#Version").val() != '') {
                $('#VersionRequiredDiv').hide();
            }
            else {
                $('#VersionRequiredDiv').show();
            }
        });


        $("#Environment").on('change', function() {
            if ($("#Environment").val() != '') {
                $('#EnvironmentRequiredDiv').hide();
            }
            else {
                $('#EnvironmentRequiredDiv').show();
            }
        });



        $("#CQTicket").keyup("input", function () {
            if ($("#CQTicket").val() != '') {
                $('#CQTicketRequiredDiv').hide();
            }
            else {
                $('#CQTicketRequiredDiv').show();
            }
        });



        $(function () {
            $('#dialog').dialog({
                autoOpen: false,
                width: 950,
                height:650,
                resizable: true,
                title: 'Condition',
                modal: true,
                open: function(event, ui) {
                    $(this).load("/CareAdvanceBusinessRules/RulePartialView")
                    $(".ui-dialog-titlebar-close").hide();
                },
                buttons: {
                    "Close": function () {
                        $(this).dialog("close");
                    }
                },
                closeOnEscape: false,
            });
            $("#opener").click(function (event) {
                event.preventDefault(); 
                $("#dialog").dialog("open");
            });
        });














    });







    function validateRuleForm()
    {
        // debugger;
        var returnVal = 0;
        if ($("#RuleIdentifier").val() == '') {
            $('#RuleIdentifierRequiredDiv').show();
            returnVal = 1;
        }
        //if($("#IsActive").is(":not(:checked)")){
        //    $('#IsActiveRequiredDiv').show();
        //    returnVal = 1;
        //}
        if ($("#Version").val() == '') {
            $('#VersionRequiredDiv').show();
            returnVal = 1;
        }
        if ($("#Environment").val() == '') {
            $('#EnvironmentRequiredDiv').show();
            returnVal = 1;
        }
        if ($("#CQTicket").val() == '') {
            $('#CQTicketRequiredDiv').show();
            returnVal = 1;
        }
        if ($("#RuleDescription").val() == '') {
            $('#ValidateDescription').show();
            returnVal = 1;
        }
        if ($("#ConditionAttributesAndValues").val() == '') {
            $('#ValidateConditionAttributesAndValues').show();
            returnVal = 1;
        }
        if ($("#ActionAttributesAndValues").val() == '') {
            $('#ValidateActionAttributesAndValues').show();
            returnVal = 1;
        }

        if (returnVal == 1)
        {
            return false;
        }
        else {
            $('#RuleForm').submit();
            return true;
        }
    }



    //Begin multiple file upload
    var counter = 0;
    function AddFileUpload()
    {
        var div = document.createElement('DIV');

        div.innerHTML = '<button class="btn btn-default glyphicon glyphicon-remove" style="height:41px; padding: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; width:80px;border: 1px solid #BBB;cursor:pointer;" id="Button' + counter + '" type="button" ' +
          'value="Remove" onclick = "RemoveFileUpload(this)" >' +
          '</button>'  +

        '<input id="file' + counter + '" name = "files' +
        '" type="file" class="fileStyle" />';

        document.getElementById("FileUploadContainer").appendChild(div);

        counter++;

        $('#FileCount').val(counter);

    }


    function RemoveFileUpload(div)
    {
        var el = document.getElementById("FileUploadContainer");
        el.removeChild(div.parentNode);
        var children = el.getElementsByTagName('input');
        counter = 0;
        for (var i = 0; i < children.length;i++) {
            if (children[i].type.toLowerCase() == 'file') {
                var newname = 'file' + counter++;
                children[i].setAttribute('name', newname);
                children[i].id = newname;
            }
        }

        $('#FileCount').val(counter);

    }















</script>

<style type="text/css">
    .multiselect-container {
        width: 100% !important;
    }

    /* beginning Upload*/
    input.fileStyle {
        padding: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border: 1px dashed #BBB;
        text-align: left;
        background-color: #f1f2f2;
        cursor: pointer;
        width: 82%;
        color: #3d6183;
        font-weight: bold;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        display: inline-block;

    }
</style>



<form action="/CareAdvanceBusinessRules/Rule/4" enctype="multipart/form-data" id="RuleForm" method="post">        <div class="panel panel-default" style="border:none;margin-bottom:5px;">
            <div class="panel-heading" style="font-size:12px;">
                Home | <a href="/CareAdvanceBusinessRules/Rule/0">Rule</a>
<span>|</span> BCBSM Ruleset            </div>
        </div>
        <div class="panel panel-default" style="width:99.5%;margin-left:3px;">
            <input id="SubmitterBadgeId" name="SubmitterBadgeId" type="hidden" value="E133244">
            <input data-val="true" data-val-number="The field SubmitterUserId must be a number." id="SubmitterUserId" name="SubmitterUserId" type="hidden" value="138">
            <input id="MenuRuleSetName" name="MenuRuleSetName" type="hidden" value="BCBSM Ruleset">
            <input data-val="true" data-val-number="The field PassedRuleSetIdFromLeftMenu must be a number." data-val-required="The PassedRuleSetIdFromLeftMenu field is required." id="PassedRuleSetIdFromLeftMenu" name="PassedRuleSetIdFromLeftMenu" type="hidden" value="4">
            <div class="panel panel-default" style="width:99.5%;margin-left:3px;">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        RULE
                    </h3>
                </div>
            </div>

            <div class="panel panel-default" style="width:99.5%;margin-left:3px;padding-top:25px;padding-left:5px;padding-bottom:25px;">

                <table style="width:100%;">
                    <tbody>
                        

                            <tr class="showhideRuleSetName RuleSetClass">
                                <td style="width:10%;padding-left:115px;">Rule Set:</td>
                                <td style="width:53%;"> BCBSM Ruleset </td>
                                <td>&nbsp;</td>
                            </tr>                        <tr class="showhideRuleSetName">
                            <td style="float:right;margin-right:5px;">Rule Identifier<span style="color:#bc0606;">*</span>:</td>
                            <td>
                                <input class="form-control" id="RuleIdentifier" maxlength="480" name="RuleIdentifier" style="width:90%" type="text" value="">
                                <div id="RuleIdentifierRequiredDiv" style="color: rgb(188, 6, 6); font-weight: bold; display: none;">Required Field</div>
                            </td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr id="showhideRuleIdentifierName" style="display: none;">
                            <td style="float:right;margin-right:5px;">Rule Identifier:</td>
                            <td>
                                <span class="multiselect-native-select"><select id="RuleIdentifierDropdownListID" name="RuleIdentifierDropdownListID" class="btn btn-default dropdown-toggle">
                                    <option value="" selected="">None Selected</option>
                                </select><div class="btn-group" style="width: 400px;"><button type="button" class="multiselect dropdown-toggle btn btn-default" data-toggle="dropdown" title="None Selected" style="width: 100%; overflow: hidden; text-overflow: ellipsis;"><span class="multiselect-selected-text">None Selected</span> <b class="caret"></b></button><ul class="multiselect-container dropdown-menu" style="max-height: 600px; overflow: hidden auto;"><li class="multiselect-item multiselect-filter" value="0"><div class="input-group"><span class="input-group-addon"><i class="glyphicon glyphicon-search"></i></span><input class="form-control multiselect-search" type="text" placeholder="Search ..."><span class="input-group-btn"><button class="btn btn-default multiselect-clear-filter" type="button"><i class="glyphicon glyphicon-remove-circle"></i></button></span></div></li><li class="active"><a tabindex="0"><label class="radio" title="None Selected"><input type="radio" value=""> None Selected</label></a></li></ul></div></span>
                            </td>
                            <td>&nbsp;</td>
                        </tr>
                </tbody></table>
            </div>

            <div class="clear:both"></div>

            <div id="RuleDetailprtDiv" class="panel panel-default" style="width: 99.5%; margin-left: 3px; display: block;">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        RULE DETAIL
                    </h3>
                </div>
            </div>

            <div id="RuleDetailchldDiv" class="panel panel-default" style="width: 99.5%; margin-left: 3px; padding-top: 25px; padding-left: 5px; padding-bottom: 25px; display: block;">

                <table border="0">
                    <tbody>
                        <tr>
                            <td style="float:right;margin-right:5px;">
                                <input checked="checked" class="form-control" data-val="true" data-val-required="The IsActive field is required." id="IsActive" name="IsActive" style="height:20px; width:20px;display:normal;" type="checkbox" value="true"><input name="IsActive" type="hidden" value="false">
                            </td>
                            <td>
                                Is active
                                
                            </td>
                            <td style="float:right;margin-left:5px;">Environment:<span style="color:#bc0606;">*</span></td>
                            <td>
                                <span class="multiselect-native-select"><select id="Environment" name="Environment" class="btn btn-default dropdown-toggle">
                                    <option value="" selected="selected">None Selected</option>
                                        <option value="SIT">SIT</option>
                                        <option value="E2E">E2E</option>
                                        <option value="PROD">PROD</option>
                                </select><div class="btn-group" style="width: 300px;"><button type="button" class="multiselect dropdown-toggle btn btn-default" data-toggle="dropdown" title="None Selected" style="width: 100%; overflow: hidden; text-overflow: ellipsis;"><span class="multiselect-selected-text">None Selected</span> <b class="caret"></b></button><ul class="multiselect-container dropdown-menu"><li class="active"><a tabindex="0"><label class="radio" title="None Selected"><input type="radio" value=""> None Selected</label></a></li><li><a tabindex="0"><label class="radio" title="SIT"><input type="radio" value="SIT"> SIT</label></a></li><li><a tabindex="0"><label class="radio" title="E2E"><input type="radio" value="E2E"> E2E</label></a></li><li><a tabindex="0"><label class="radio" title="PROD"><input type="radio" value="PROD"> PROD</label></a></li></ul></div></span>
                                <div id="EnvironmentRequiredDiv" style="color: rgb(188, 6, 6); font-weight: bold; display: none;">Required Field</div>
                            </td>
                            <td>&nbsp;</td>
                        </tr>

                        <tr>
                            <td style="width:10%;"> <span style="float:right;margin-right:5px;">Version<span style="color:#bc0606;">*</span>:</span></td>
                            <td style="width:20%;">
                                <input class="form-control" data-val="true" data-val-required="The Version field is required." id="Version" name="Version" style="width:100%;" type="text" value="">
                                <div id="VersionRequiredDiv" style="color: rgb(188, 6, 6); font-weight: bold; display: none;">Required Field</div>
                            </td>
                            <td style="width:10%;"><span style="float:right;margin-right:5px;">CQ Ticket<span style="color:#bc0606;">*</span>:</span></td>
                            <td style="width:20%">
                                <input class="form-control" data-val="true" data-val-required="The CQTicket field is required." id="CQTicket" name="CQTicket" style="width:100%;" type="text" value="">
                                <div id="CQTicketRequiredDiv" style="color: rgb(188, 6, 6); font-weight: bold; display: none;">Required Field</div>
                            </td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td style="float:right;margin-right:5px;"> Commit ID:</td>
                            <td>
                                <input class="form-control" id="CommitID" name="CommitID" style="width:100%;" type="text" value="">
                            </td>
                            <td style="float:right;">Commit Description:</td>
                            <td>
                                <input class="form-control" id="CommitDescription" name="CommitDescription" style="width:100%;" type="text" value="">
                            </td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td style="float:right;margin-right:5px;"> Created By:</td>
                            <td>
                                Makhoul, Latife
                            </td>
                            <td style="float:right;margin-left:5px;">Created Date:</td>
                            <td>12/10/2019 6:55:13 PM</td>
                            <td>&nbsp;</td>
                        </tr>


                    </tbody>
                </table>




            </div>


            <div class="clear:both"></div>

            <div id="RuleDescriptionDiv" class="panel panel-default" style="width: 99.5%; margin-left: 3px; display: block;">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        RULE DESCRIPTION<span style="color:#bc0606;">*</span>
                    </h3>
                </div>
                <div class="container" style="margin-left:0px;width:100%;">
                    <div class="col-xs-6" style="width:100%;margin-top:5px;">
                        <div class="form-group purple-border">
                            <textarea class="form-control" cols="20" data-val="true" data-val-required="The RuleDescription field is required." id="RuleDescription" maxlength="900" name="RuleDescription" rows="6" style="width:77%;font-size:12px;"></textarea>
                            <span id="rcharsDescription">900</span> Character(s) Remaining
                            <div id="ValidateDescription" style="color: rgb(188, 6, 6); font-weight: bold; display: none;">Required Field</div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="clear:both"></div>
            <div id="ConditionAttributesDiv" class="panel panel-default" style="width: 99.5%; margin-left: 3px; display: block;">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        CONDITION ATTRIBUTE(S) AND VALUE(S)<span style="color:#bc0606;">*</span>
                    </h3>

                    <h3 class="panel-title">
                        <a id="opener" href="/CareAdvanceBusinessRules/RulePartialView">Add a Condition </a>
                        <a id="opener" href="/CareAdvanceBusinessRules/RuleFunctionPartialView">Add a Function </a>
                    </h3>
                </div>

                <div class="container" style="margin-left:0px;width:100%;">
                    <div class="col-xs-6" style="width:77%;margin-top:5px;">
                        <div class="form-group purple-border">
                            <div class="jodit_container jodit_default_theme jodit_toolbar_size-middle jodit_wysiwyg_mode" contenteditable="false" style="min-height: 200px; min-width: 200px; max-width: 100%; height: auto; width: auto;"><ul class="jodit_toolbar" style="width: auto;"><li class="jodit_toolbar_btn jodit_toolbar_btn-bold"><a role="button" href="javascript:void(0)" aria-label="Bold"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_bold"><path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"></path></svg></span></a></li><li class="jodit_toolbar_btn jodit_toolbar_btn-image"><a role="button" href="javascript:void(0)" aria-label="Insert Image"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_image"><path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"></path></svg></span></a></li><li class="jodit_toolbar_btn jodit_toolbar_btn-separator"></li><li class="jodit_toolbar_btn jodit_toolbar_btn-brush"><a role="button" href="javascript:void(0)" aria-label="Fill color or set the text color"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_brush"><path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"></path></svg></span></a></li><li class="jodit_toolbar_btn jodit_with_dropdownlist jodit_toolbar_btn-paragraph"><a role="button" href="javascript:void(0)" aria-label="Insert format block"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_paragraph"><path d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"></path></svg></span><span class="jodit_with_dropdownlist-trigger"></span></a></li><li class="jodit_toolbar_btn jodit_toolbar_btn-separator"></li><li class="jodit_toolbar_btn jodit_with_dropdownlist jodit_toolbar_btn-left"><a role="button" href="javascript:void(0)" aria-label="Align"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_left"><path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"></path></svg></span><span class="jodit_with_dropdownlist-trigger"></span></a></li><li class="jodit_toolbar_btn jodit_toolbar_btn-separator"></li><li class="jodit_toolbar_btn jodit_toolbar_btn-undo jodit_disabled" disabled="disabled"><a role="button" href="javascript:void(0)" aria-label="Undo"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_undo"><path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"></path></svg></span></a></li><li class="jodit_toolbar_btn jodit_toolbar_btn-redo jodit_disabled" disabled="disabled"><a role="button" href="javascript:void(0)" aria-label="Redo"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_redo">
    <path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"></path>
</svg></span></a></li><li class="jodit_toolbar_btn jodit_toolbar_btn-separator"></li><li class="jodit_toolbar_btn jodit_toolbar_btn-eraser"><a role="button" href="javascript:void(0)" aria-label="Clear Formatting"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_eraser"><path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"></path></svg></span></a></li><li class="jodit_toolbar_btn jodit_toolbar_btn-dots"><a role="button" href="javascript:void(0)"><span><svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xml:space="preserve" class="jodit_icon jodit_icon_dots">
    <circle cx="12" cy="12" r="2.2"></circle>
    <circle cx="12" cy="5" r="2.2"></circle>
    <circle cx="12" cy="19" r="2.2"></circle>
</svg></span></a></li></ul><div contenteditable="false" class="jodit_workplace" style="min-height: 150px; height: auto;"><div class="jodit_progress_bar"><div></div></div><div contenteditable="true" aria-disabled="false" tabindex="-1" class="jodit_wysiwyg" spellcheck="true" style="min-height: 148px;"></div><div class="jodit_error_box_for_messages"></div><span style="display: block; font-size: 14px; line-height: 18.2px; margin-top: 0px; margin-left: 0px;" class="jodit_placeholder"> </span><div class="jodit_source"><div class="jodit_source_mirror-fake ace_editor ace_hidpi ace-idle-fingers ace_dark"><textarea class="ace_text-input" wrap="off" autocorrect="off" autocapitalize="off" spellcheck="false" style="opacity: 0; font-size: 1px;"></textarea><div class="ace_gutter" aria-hidden="true"><div class="ace_layer ace_gutter-layer ace_folding-enabled" style="height: 1e+06px;"></div></div><div class="ace_scroller"><div class="ace_content"><div class="ace_layer ace_print-margin-layer"><div class="ace_print-margin" style="left: 4px; visibility: visible;"></div></div><div class="ace_layer ace_marker-layer"></div><div class="ace_layer ace_text-layer" style="height: 1e+06px; margin: 0px 4px;"></div><div class="ace_layer ace_marker-layer"></div><div class="ace_layer ace_cursor-layer ace_hidden-cursors"><div class="ace_cursor"></div></div></div></div><div class="ace_scrollbar ace_scrollbar-v" style="display: none; width: 22px;"><div class="ace_scrollbar-inner" style="width: 22px;">&nbsp;</div></div><div class="ace_scrollbar ace_scrollbar-h" style="display: none; height: 22px;"><div class="ace_scrollbar-inner" style="height: 22px;">&nbsp;</div></div><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font: inherit; overflow: hidden;"><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font: inherit; overflow: visible;"></div><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font: inherit; overflow: visible;">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</div></div></div><textarea class="jodit_source_mirror" style="display: none; height: 0px; min-height: 148px;"></textarea></div><div class="jodit_search"><div class="jodit_search_box"><div class="jodit_search_inputs"><input tabindex="0" class="jodit_search-query" placeholder="Search for" type="text"><input tabindex="0" class="jodit_search-replace" placeholder="Replace with" type="text"></div><div class="jodit_search_counts"><span>0/0</span></div><div class="jodit_search_buttons"><button tabindex="0" type="button" class="jodit_search_buttons-next"><svg viewBox="0 0 1792 1792">
    <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"></path>
</svg></button><button tabindex="0" type="button" class="jodit_search_buttons-prev"><svg viewBox="0 0 1792 1792"><path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"></path></svg></button><button tabindex="0" type="button" class="jodit_search_buttons-cancel"><svg viewBox="0 0 16 16" style="stroke: #000000;">
    <g transform="translate(0,-1036.3622)">
        <path d="m 2,1050.3622 12,-12" style="fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"></path>
        <path d="m 2,1038.3622 12,12" style="fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"></path>
    </g>
</svg>
</button><button tabindex="0" type="button" class="jodit_search_buttons-replace">Replace</button></div></div></div></div><div class="jodit_statusbar" style="display: block;"><div class="jodit_statusbar_item jodit_statusbar_item-right"><span>Chars: 0</span></div><div class="jodit_statusbar_item jodit_statusbar_item-right"><span>Words: 0</span></div><div class="jodit_statusbar_item"><ul class="jodit_xpath"><li class="jodit_toolbar_btn jodit_toolbar_btn-selectall"><a role="button" href="javascript:void(0)" aria-label="Select all"><span><svg viewBox="0 0 18 18" class="jodit_icon jodit_icon_selectall">
    <g fill-rule="evenodd" stroke="none" stroke-width="1">
        <g transform="translate(-381.000000, -381.000000)">
            <g transform="translate(381.000000, 381.000000)">
                <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"></path>
            </g>
        </g>
    </g>
</svg></span></a></li></ul></div></div><div role="button" tabindex="-1" title="Break" class="jodit-add-new-line"><span><svg viewBox="0 0 128 128" xml:space="preserve">
    <g>
        <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125     16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594     112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125   "></polygon>
    </g>
</svg></span></div></div><textarea class="form-control" cols="20" data-val="true" data-val-length="The field ConditionAttributesAndValues must be a string with a maximum length of 4010." data-val-length-max="4010" data-val-required="The ConditionAttributesAndValues field is required." id="ConditionAttributesAndValues" name="ConditionAttributesAndValues" rows="2" style="width: 77%; display: none;"></textarea>
                            <span id="rcharsConditionAttributesAndValues">4000</span> Character(s) Remaining
                            <div id="ValidateConditionAttributesAndValues" style="color: rgb(188, 6, 6); font-weight: bold; display: block;">Required Field</div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="clear:both"></div>
            <div id="ActionAttributesDiv" class="panel panel-default" style="width: 99.5%; margin-left: 3px; display: block;">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        ACTION ATTRIBUTE(S) AND VALUE(S)<span style="color:#bc0606;">*</span>
                    </h3>
                </div>
                <div class="container" style="margin-left:0px;width:100%;">
                    <div class="col-xs-6" style="width:77%;margin-top:5px;">
                        <div class="form-group purple-border">
                            <div class="jodit_container jodit_default_theme jodit_toolbar_size-middle jodit_wysiwyg_mode" contenteditable="false" style="min-height: 200px; min-width: 200px; max-width: 100%; height: auto; width: auto;"><ul class="jodit_toolbar" style="width: auto;"><li class="jodit_toolbar_btn jodit_toolbar_btn-bold"><a role="button" href="javascript:void(0)" aria-label="Bold"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_bold"><path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"></path></svg></span></a></li><li class="jodit_toolbar_btn jodit_toolbar_btn-image"><a role="button" href="javascript:void(0)" aria-label="Insert Image"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_image"><path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"></path></svg></span></a></li><li class="jodit_toolbar_btn jodit_toolbar_btn-separator"></li><li class="jodit_toolbar_btn jodit_toolbar_btn-brush"><a role="button" href="javascript:void(0)" aria-label="Fill color or set the text color"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_brush"><path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"></path></svg></span></a></li><li class="jodit_toolbar_btn jodit_with_dropdownlist jodit_toolbar_btn-paragraph"><a role="button" href="javascript:void(0)" aria-label="Insert format block"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_paragraph"><path d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"></path></svg></span><span class="jodit_with_dropdownlist-trigger"></span></a></li><li class="jodit_toolbar_btn jodit_toolbar_btn-separator"></li><li class="jodit_toolbar_btn jodit_with_dropdownlist jodit_toolbar_btn-left"><a role="button" href="javascript:void(0)" aria-label="Align"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_left"><path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"></path></svg></span><span class="jodit_with_dropdownlist-trigger"></span></a></li><li class="jodit_toolbar_btn jodit_toolbar_btn-separator"></li><li class="jodit_toolbar_btn jodit_toolbar_btn-undo jodit_disabled" disabled="disabled"><a role="button" href="javascript:void(0)" aria-label="Undo"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_undo"><path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"></path></svg></span></a></li><li class="jodit_toolbar_btn jodit_toolbar_btn-redo jodit_disabled" disabled="disabled"><a role="button" href="javascript:void(0)" aria-label="Redo"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_redo">
    <path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"></path>
</svg></span></a></li><li class="jodit_toolbar_btn jodit_toolbar_btn-separator"></li><li class="jodit_toolbar_btn jodit_toolbar_btn-eraser"><a role="button" href="javascript:void(0)" aria-label="Clear Formatting"><span><svg viewBox="0 0 1792 1792" class="jodit_icon jodit_icon_eraser"><path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"></path></svg></span></a></li><li class="jodit_toolbar_btn jodit_toolbar_btn-dots"><a role="button" href="javascript:void(0)"><span><svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xml:space="preserve" class="jodit_icon jodit_icon_dots">
    <circle cx="12" cy="12" r="2.2"></circle>
    <circle cx="12" cy="5" r="2.2"></circle>
    <circle cx="12" cy="19" r="2.2"></circle>
</svg></span></a></li></ul><div contenteditable="false" class="jodit_workplace" style="min-height: 150px; height: auto;"><div class="jodit_progress_bar"><div></div></div><div contenteditable="true" aria-disabled="false" tabindex="-1" class="jodit_wysiwyg" spellcheck="true" style="min-height: 148px;"></div><div class="jodit_error_box_for_messages"></div><span style="display: block; font-size: 14px; line-height: 18.2px; margin-top: 0px; margin-left: 0px;" class="jodit_placeholder"> </span><div class="jodit_source"><div class="jodit_source_mirror-fake ace_editor ace_hidpi ace-idle-fingers ace_dark"><textarea class="ace_text-input" wrap="off" autocorrect="off" autocapitalize="off" spellcheck="false" style="opacity: 0; font-size: 1px;"></textarea><div class="ace_gutter" aria-hidden="true"><div class="ace_layer ace_gutter-layer ace_folding-enabled" style="height: 1e+06px;"></div></div><div class="ace_scroller"><div class="ace_content"><div class="ace_layer ace_print-margin-layer"><div class="ace_print-margin" style="left: 4px; visibility: visible;"></div></div><div class="ace_layer ace_marker-layer"></div><div class="ace_layer ace_text-layer" style="height: 1e+06px; margin: 0px 4px;"></div><div class="ace_layer ace_marker-layer"></div><div class="ace_layer ace_cursor-layer ace_hidden-cursors"><div class="ace_cursor"></div></div></div></div><div class="ace_scrollbar ace_scrollbar-v" style="display: none; width: 22px;"><div class="ace_scrollbar-inner" style="width: 22px;">&nbsp;</div></div><div class="ace_scrollbar ace_scrollbar-h" style="display: none; height: 22px;"><div class="ace_scrollbar-inner" style="height: 22px;">&nbsp;</div></div><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font: inherit; overflow: hidden;"><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font: inherit; overflow: visible;"></div><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font: inherit; overflow: visible;">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</div></div></div><textarea class="jodit_source_mirror" style="display: none; height: 0px; min-height: 148px;"></textarea></div><div class="jodit_search"><div class="jodit_search_box"><div class="jodit_search_inputs"><input tabindex="0" class="jodit_search-query" placeholder="Search for" type="text"><input tabindex="0" class="jodit_search-replace" placeholder="Replace with" type="text"></div><div class="jodit_search_counts"><span>0/0</span></div><div class="jodit_search_buttons"><button tabindex="0" type="button" class="jodit_search_buttons-next"><svg viewBox="0 0 1792 1792">
    <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"></path>
</svg></button><button tabindex="0" type="button" class="jodit_search_buttons-prev"><svg viewBox="0 0 1792 1792"><path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"></path></svg></button><button tabindex="0" type="button" class="jodit_search_buttons-cancel"><svg viewBox="0 0 16 16" style="stroke: #000000;">
    <g transform="translate(0,-1036.3622)">
        <path d="m 2,1050.3622 12,-12" style="fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"></path>
        <path d="m 2,1038.3622 12,12" style="fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"></path>
    </g>
</svg>
</button><button tabindex="0" type="button" class="jodit_search_buttons-replace">Replace</button></div></div></div></div><div class="jodit_statusbar" style="display: block;"><div class="jodit_statusbar_item jodit_statusbar_item-right"><span>Chars: 0</span></div><div class="jodit_statusbar_item jodit_statusbar_item-right"><span>Words: 0</span></div><div class="jodit_statusbar_item"><ul class="jodit_xpath"><li class="jodit_toolbar_btn jodit_toolbar_btn-selectall"><a role="button" href="javascript:void(0)" aria-label="Select all"><span><svg viewBox="0 0 18 18" class="jodit_icon jodit_icon_selectall">
    <g fill-rule="evenodd" stroke="none" stroke-width="1">
        <g transform="translate(-381.000000, -381.000000)">
            <g transform="translate(381.000000, 381.000000)">
                <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"></path>
            </g>
        </g>
    </g>
</svg></span></a></li></ul></div></div><div role="button" tabindex="-1" title="Break" class="jodit-add-new-line"><span><svg viewBox="0 0 128 128" xml:space="preserve">
    <g>
        <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125     16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594     112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125   "></polygon>
    </g>
</svg></span></div></div><textarea class="form-control" cols="20" data-val="true" data-val-length="The field ActionAttributesAndValues must be a string with a maximum length of 4010." data-val-length-max="4010" data-val-required="The ActionAttributesAndValues field is required." id="ActionAttributesAndValues" name="ActionAttributesAndValues" rows="2" style="width: 77%; display: none;"></textarea>
                            <span id="rcharsActionAttributesAndValues">4000</span> Character(s) Remaining
                            <div id="ValidateActionAttributesAndValues" style="color: rgb(188, 6, 6); font-weight: bold; display: block;">Required Field</div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="clear:both"></div>
            <div id="RuleCommentsDiv" class="panel panel-default" style="width: 99.5%; margin-left: 3px; display: block;">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        RULE COMMENTS/NOTES
                    </h3>
                </div>
                <div class="container" style="margin-left:0px;width:100%;">
                    <div class="col-xs-6" style="width:100%;margin-top:5px;">
                        <div class="form-group purple-border">
                            <textarea class="form-control" cols="20" id="CommentOrNotes" maxlength="900" name="CommentOrNotes" rows="6" style="width:77%"></textarea>
                            <span id="rcharsCommentsNotes">900</span> Character(s) Remaining
                        </div>
                    </div>
                </div>
            </div>


            <div class="clear:both"></div>

            <div id="UploadFileDiv" class="panel panel-default" style="width: 99.5%; margin-left: 3px; display: block;">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        Attachment(s)
                        (Attach multiple files.)
                    </h3>
                </div>
                <input type="hidden" name="FileCount" id="FileCount" value="">
                <div class="container" style="margin-left:0px;width:100%;">
                    <div class="col-xs-6" style="width:100%;margin-top:5px;margin-bottom:25px;">
                        <div class="form-group" style="padding-bottom:10px;">
                            <div class="col-sm-9" style="width:88%;">
                                <button name="Button1" id="Button1" type="button" style="border: 0; background: transparent;cursor:pointer;" onclick="AddFileUpload();">
                                    Add a file: <img src="/Content/images/add.png" alt="Add">
                                </button>
                                <br><br>
                                <div id="FileUploadContainer">
                                    
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
            </div>


            <div id="SubmitDiv" class="panel panel-default" style="width: 99.5%; margin-left: 3px; padding-top: 25px; padding-left: 5px; padding-bottom: 25px; display: block;">
                <table class="table">
                    <tbody><tr>
                        <td>
                            <div class="panel panel-default" style="width:100%;">
                                <input href="#" class="btn btn-lg btn-success btn-block" onclick="return validateRuleForm();" type="button" value="Save" style="width:15%;font-size:13px;font-weight:bold;">
                                <input onclick="Exit();" class="btn btn-lg btn-success btn-block" type="button" value="Cancel" style="width:15%;font-size:13px;font-weight:bold;">
                            </div>
                        </td>
                    </tr>
                </tbody></table>
            </div>
        </div>
</form>





                    </div>
                </td>
            </tr>
        </tbody></table>

        <!-- End Body -->

        <div style="clear:both;"></div>
        <!-- Footer -->

        <div class="footer" style="width:100%;background-color:#f4f4f4;color:#000000; text-align:center;float:right;border-top:1px solid #ccc;border-bottom:1px solid #ccc;">
            <a href="#">
                Help |
            </a> <a href="mailto:BCNBusinessConfiguration@BCBSM.com?subject=CWS">
                Contact Us
            </a> <br>
            © 2019 Blue Care Network of Michigan is a nonprofit corporation and independent licensee of the Blue Cross and Blue Shield Association.
        </div>
    </div>

<!-- Visual Studio Browser Link -->
<script type="application/json" id="__browserLink_initializationData">
    {"appName":"Chrome","requestId":"01c51a2da0cd4788bcce547868ae5e59"}
</script>
<script type="text/javascript" src="http://localhost:55524/a639dcce720043449b78f53f256a7fba/browserLink" async="async"></script>
<!-- End Browser Link -->



<div tabindex="-1" role="dialog" class="ui-dialog ui-corner-all ui-widget ui-widget-content ui-front ui-dialog-buttons ui-draggable ui-resizable" aria-describedby="dialog" aria-labelledby="ui-id-1" style="position: absolute; height: auto; width: 950px; top: 300px; left: 156.5px; display: block; z-index: 101;"><div class="ui-dialog-titlebar ui-corner-all ui-widget-header ui-helper-clearfix ui-draggable-handle"><span id="ui-id-1" class="ui-dialog-title">Condition</span><button type="button" class="ui-button ui-corner-all ui-widget ui-button-icon-only ui-dialog-titlebar-close" title="Close" style="display: none;"><span class="ui-button-icon ui-icon ui-icon-closethick"></span><span class="ui-button-icon-space"> </span>Close</button></div><div id="dialog" class="ui-dialog-content ui-widget-content" style="width: auto; min-height: 0px; max-height: none; height: 551.2px;">

Open in new window


This is my dialog box code

<script>
    $(document).ready(function () {

       // debugger;

        $('#OperatorSelect').multiselect(getOperatorOptions(true));
        $('#ConditionSelect').multiselect(getOperatorOptions(true));
        $('#ValueSelect').multiselect(getOperatorOptions(true));
        $('#GroupSelect').multiselect(getGroupOptions(true));
        $('#OperatorSelectForRange').multiselect(getOperatorOptions(true));
        $('#ConditionSelectForRange').multiselect(getOperatorOptions(true));
        $('#ValueSelectForRange').multiselect(getOperatorOptions(true));

        $("#ConditionSelect").change(function (event) {
            var GetValue = $(this).val();
            $('#HiddenFieldForSelectedCondition').val(GetValue);
            //reset select group
            $("#GroupSelect option:selected").prop("selected", false);
            $('#HiddenFieldForSelectedGroup').val("");
            $('#ItemsTextArea').val("");
            var method = $('#RulePartialViewForm').attr("method").toLowerCase();
            var action = $('#RulePartialViewForm').attr("action");
            var data = $('#RulePartialViewForm').serialize();
            $.ajax({ method: method, url: action, data: data }).done(
                function (json) {
                    var arr = [ '<option>Select</option>' ];
                    $.each(json, function (i, obj) {
                        arr.push('<option value="' + json[i].Value + '">' + json[i].Text + "</option>");
                    });
                    $('#GroupSelect').closest("td").html("<select id='GroupSelect' name='GroupSelect'>" + arr.join("") + "</select>");
                    $('#GroupSelect').multiselect(getGroupOptions(true));
                });
        });

        $(document).on("change", "#GroupSelect", function (event) {
            //debugger;
            var GetValue = $(this).val();
            $('#HiddenFieldForSelectedGroup').val(GetValue);
            if (GetValue != "Select") {
                var method = $('#RulePartialViewForm').attr("method").toLowerCase();
                var action = $('#RulePartialViewForm').attr("action");
                var data = $('#RulePartialViewForm').serialize();
                $.ajax({ method: method, url: action, data: data }).done(
                    function (json) {
                    $("#ItemsTextArea").val(json);
                    });
            }
            else {
                $("#ItemsTextArea").val("");
            }
        });

        



        function getOperatorOptions(isFilter) {
            return {
                buttonWidth: '170px'
            }
        }


        function getGroupOptions(isFilter) {
            return {
                enableFiltering: isFilter,
                enableCaseInsensitiveFiltering: isFilter,
                filterPlaceholder: 'Search ...',
                nonSelectedText: 'Check an option!',
                numberDisplayed: 1,
                maxHeight: 600,
                buttonWidth: '350px'

            }
        }

     


        $("#AppendConditionBtn").click(function () {
           // debugger;
            var RangeBoxFrom = $("#RangeBoxFrom").val().length;
            var RangeBoxTo = $("#RangeBoxTo").val().length;

            var GetOperatorSelectValue = $("#OperatorSelect option:selected").val();
            var GetConditionSelectValue = $("#ConditionSelect option:selected").text();
            var GetValueSelectValue = $("#ValueSelect option:selected").val();
            var GetGroupSelectValue = $("#GroupSelect option:selected").text();
            var GetItemsTextAreaValue = $("#ItemsTextArea").val();
            var GetOperatorSelectForRangeValue = $("#OperatorSelectForRange option:selected").val();
            var GetConditionSelectForRangeValue = $("#ConditionSelectForRange option:selected").val();
            var GetValueSelectForRangeValue = $("#ValueSelectForRange option:selected").val();
            var GetRangeBoxFromValue = $("#RangeBoxFrom").val();
            var GetRangeBoxToValue = $("#RangeBoxTo").val();

             if (RangeBoxFrom > 6 || RangeBoxTo > 6) {
                 alert("Range should be less than 6 character");
                 return false;
             }
             if (GetOperatorSelectValue != "")
             {
                 $("#ContidionsAndAttributesTextArea").val($("#ContidionsAndAttributesTextArea").val() + "\n" + GetOperatorSelectValue);
             }
             if (GetConditionSelectValue != "Select Group") {
                 $("#ContidionsAndAttributesTextArea").val($("#ContidionsAndAttributesTextArea").val()
                     + " " + GetConditionSelectValue);
             }
             if (GetValueSelectValue != "") {
                 $("#ContidionsAndAttributesTextArea").val($("#ContidionsAndAttributesTextArea").val()
                     + " " + GetValueSelectValue);
             }
             if (GetGroupSelectValue != "Select") {
                 $("#ContidionsAndAttributesTextArea").val($("#ContidionsAndAttributesTextArea").val()
                     + " " + GetGroupSelectValue);
             }
             if (GetItemsTextAreaValue != "") {
                 $("#ContidionsAndAttributesTextArea").val($("#ContidionsAndAttributesTextArea").val()
                     + " (" + GetItemsTextAreaValue + ") ");
             }
             if (GetOperatorSelectForRangeValue != "") {
                 $("#ContidionsAndAttributesTextArea").val($("#ContidionsAndAttributesTextArea").val()
                     + " \n" + GetOperatorSelectForRangeValue);
             }
             if (GetConditionSelectForRangeValue != 0) {
                 $("#ContidionsAndAttributesTextArea").val($("#ContidionsAndAttributesTextArea").val()
                     + " " + GetConditionSelectForRangeValue);
             }
             if (GetValueSelectForRangeValue != "") {
                 $("#ContidionsAndAttributesTextArea").val($("#ContidionsAndAttributesTextArea").val()
                     + " " + GetValueSelectForRangeValue);
             }
             if (GetRangeBoxFromValue != "" && GetRangeBoxToValue != "") {
                 $("#ContidionsAndAttributesTextArea").val($("#ContidionsAndAttributesTextArea").val()
                     + " Range (" + GetRangeBoxFromValue + " - " + GetRangeBoxToValue + ") ");
             }

               $("#OperatorSelect option:selected").prop("selected", false);
               $("#OperatorSelect").multiselect('refresh');
               $("#ConditionSelect option:selected").prop("selected", false);
               $("#ConditionSelect").multiselect('refresh');
               $("#ValueSelect option:selected").prop("selected", false);
               $("#ValueSelect").multiselect('refresh');
               $("#GroupSelect option:selected").prop("selected", false);
               $("#GroupSelect").multiselect('refresh');
               $("#OperatorSelectForRange option:selected").prop("selected", false);
               $("#OperatorSelectForRange").multiselect('refresh');
               $("#ConditionSelectForRange option:selected").prop("selected", false);
               $("#ConditionSelectForRange").multiselect('refresh');
               $("#ValueSelectForRange option:selected").prop("selected", false);
               $("#ValueSelectForRange").multiselect('refresh');
                $("#ItemsTextArea").val("");
                $("#RangeBoxFrom").val("");
                $("#RangeBoxTo").val("");
              return true;

        });
     
        //$("#AppendConditionToParentBtn").click(function () {
        //    $('#ContidionsAndAttributesTextArea').text(window.opener.$("#ConditionAttributesAndValues").val());
        //    $('#dialog').dialog('close');
        //    return true;
        //});

    });



  
             

     

</script>


<div id="RuleDetailprtDiv" class="panel panel-default" style="width:99.5%;margin-left:3px;">
    <div class="panel-heading">
        <h3 class="panel-title">
            CONDITION ATTRIBUTE(S) AND VALUE(S)
        </h3>
    </div>
</div>

<div id="RuleDetailchldDiv" class="panel panel-default" style="width:99.5%;margin-left:3px;padding-top:10px;padding-left:5px;">

<form action="/CareAdvanceBusinessRules/RulePartialView" data-ajax="true" data-ajax-failure="FailAlert" data-ajax-method="POST" data-ajax-success="binddata" id="RulePartialViewForm" method="post"><input data-val="true" data-val-number="The field HiddenFieldForSelectedCondition must be a number." data-val-required="The HiddenFieldForSelectedCondition field is required." id="HiddenFieldForSelectedCondition" name="HiddenFieldForSelectedCondition" type="hidden" value="1"><input data-val="true" data-val-number="The field HiddenFieldForSelectedGroup must be a number." data-val-required="The HiddenFieldForSelectedGroup field is required." id="HiddenFieldForSelectedGroup" name="HiddenFieldForSelectedGroup" type="hidden" value="34">    <table border="0">
        <tbody>
            <tr>
                <td style="width:20%;">
                    <span class="multiselect-native-select"><select id="OperatorSelect" name="OperatorSelect" class="btn btn-default dropdown-toggle">
                        <option value="">Select Operator</option>
                        <option value="IF">IF</option>
                        <option value="AND">AND</option>
                        <option value="OR">OR</option>
                    </select><div class="btn-group" style="width: 170px;"><button type="button" class="multiselect dropdown-toggle btn btn-default" data-toggle="dropdown" title="Select Operator" style="width: 100%; overflow: hidden; text-overflow: ellipsis;"><span class="multiselect-selected-text">Select Operator</span> <b class="caret"></b></button><ul class="multiselect-container dropdown-menu"><li class="active"><a tabindex="0"><label class="radio" title="Select Operator"><input type="radio" value=""> Select Operator</label></a></li><li class=""><a tabindex="0"><label class="radio" title="IF"><input type="radio" value="IF"> IF</label></a></li><li><a tabindex="0"><label class="radio" title="AND"><input type="radio" value="AND"> AND</label></a></li><li><a tabindex="0"><label class="radio" title="OR"><input type="radio" value="OR"> OR</label></a></li></ul></div></span>
                </td>
                <td style="width:20%;"> 
                    <span class="multiselect-native-select"><select id="ConditionSelect" name="ConditionSelect" class="btn btn-default dropdown-toggle">
                        <option value="0" selected="">Select Group</option>
                                <option value="3">Dx</option>
                                <option value="5">Group ID</option>
                                <option value="4">NPI</option>
                                <option value="6">Plan Code</option>
                                <option value="1">Px</option>
                    </select><div class="btn-group" style="width: 170px;"><button type="button" class="multiselect dropdown-toggle btn btn-default" data-toggle="dropdown" title="Select Group" style="width: 100%; overflow: hidden; text-overflow: ellipsis;"><span class="multiselect-selected-text">Select Group</span> <b class="caret"></b></button><ul class="multiselect-container dropdown-menu"><li class="active"><a tabindex="0"><label class="radio" title="Select Group"><input type="radio" value="0"> Select Group</label></a></li><li><a tabindex="0"><label class="radio" title="Dx"><input type="radio" value="3"> Dx</label></a></li><li><a tabindex="0"><label class="radio" title="Group ID"><input type="radio" value="5"> Group ID</label></a></li><li><a tabindex="0"><label class="radio" title="NPI"><input type="radio" value="4"> NPI</label></a></li><li><a tabindex="0"><label class="radio" title="Plan Code"><input type="radio" value="6"> Plan Code</label></a></li><li class=""><a tabindex="0"><label class="radio" title="Px"><input type="radio" value="1"> Px</label></a></li></ul></div></span>
                </td>
                <td style="width:20%;">
                <span class="multiselect-native-select"><select id="ValueSelect" name="ValueSelect" class="btn btn-default dropdown-toggle">
                    <option value="">Select Value</option>
                    <option value="=">=</option>
                    <option value="<>">&lt;&gt;</option>
                    <option value="IN">IN</option>
                    <option value="Not IN">Not IN</option>
                    <option value=">">&gt;</option>
                    <option value=">=">&gt;=</option>
                    <option value="<">&lt;</option>
                    <option value="<=">&lt;=</option>
                </select><div class="btn-group" style="width: 170px;"><button type="button" class="multiselect dropdown-toggle btn btn-default" data-toggle="dropdown" title="Select Value" style="width: 100%; overflow: hidden; text-overflow: ellipsis;"><span class="multiselect-selected-text">Select Value</span> <b class="caret"></b></button><ul class="multiselect-container dropdown-menu"><li class="active"><a tabindex="0"><label class="radio" title="Select Value"><input type="radio" value=""> Select Value</label></a></li><li><a tabindex="0"><label class="radio" title="="><input type="radio" value="="> =</label></a></li><li><a tabindex="0"><label class="radio" title="<>"><input type="radio" value="<>"> &lt;&gt;</label></a></li><li><a tabindex="0"><label class="radio" title="IN"><input type="radio" value="IN"> IN</label></a></li><li class=""><a tabindex="0"><label class="radio" title="Not IN"><input type="radio" value="Not IN"> Not IN</label></a></li><li><a tabindex="0"><label class="radio" title=">"><input type="radio" value=">"> &gt;</label></a></li><li><a tabindex="0"><label class="radio" title=">="><input type="radio" value=">="> &gt;=</label></a></li><li><a tabindex="0"><label class="radio" title="<"><input type="radio" value="<"> &lt;</label></a></li><li><a tabindex="0"><label class="radio" title="<="><input type="radio" value="<="> &lt;=</label></a></li></ul></div></span></td>
                <td style="width:20%" colspan="2"><span class="multiselect-native-select"><select id="GroupSelect" name="GroupSelect"><option>Select</option><option value="34">Px1</option><option value="38">Px2</option><option value="39">Px3</option><option value="40">Px4</option></select><div class="btn-group" style="width: 350px;"><button type="button" class="multiselect dropdown-toggle btn btn-default" data-toggle="dropdown" title="Select" style="width: 100%; overflow: hidden; text-overflow: ellipsis;"><span class="multiselect-selected-text">Select</span> <b class="caret"></b></button><ul class="multiselect-container dropdown-menu" style="max-height: 600px; overflow: hidden auto;"><li class="multiselect-item multiselect-filter" value="0"><div class="input-group"><span class="input-group-addon"><i class="glyphicon glyphicon-search"></i></span><input class="form-control multiselect-search" type="text" placeholder="Search ..."><span class="input-group-btn"><button class="btn btn-default multiselect-clear-filter" type="button"><i class="glyphicon glyphicon-remove-circle"></i></button></span></div></li><li class="active"><a tabindex="0"><label class="radio" title="Select"><input type="radio" value="Select"> Select</label></a></li><li class=""><a tabindex="0"><label class="radio" title="Px1"><input type="radio" value="34"> Px1</label></a></li><li><a tabindex="0"><label class="radio" title="Px2"><input type="radio" value="38"> Px2</label></a></li><li><a tabindex="0"><label class="radio" title="Px3"><input type="radio" value="39"> Px3</label></a></li><li><a tabindex="0"><label class="radio" title="Px4"><input type="radio" value="40"> Px4</label></a></li></ul></div></span></td>
            </tr>
            <tr> 
                <td colspan="5">
                    <textarea class="form-control" cols="20" id="ItemsTextArea" maxlength="900" name="ItemsTextArea" rows="6" style="width:100%; margin-top:10px;margin-bottom:10px;"></textarea>
                </td>
            </tr>
            <tr>
                <td style="width:20%;">  
                    <span class="multiselect-native-select"><select id="OperatorSelectForRange" name="OperatorSelectForRange" class="btn btn-default dropdown-toggle">
                        <option value="">Select Operator</option>
                        <option value="IF">IF</option>
                        <option value="AND">AND</option>
                        <option value="OR">OR</option>
                    </select><div class="btn-group" style="width: 170px;"><button type="button" class="multiselect dropdown-toggle btn btn-default" data-toggle="dropdown" title="Select Operator" style="width: 100%; overflow: hidden; text-overflow: ellipsis;"><span class="multiselect-selected-text">Select Operator</span> <b class="caret"></b></button><ul class="multiselect-container dropdown-menu"><li class="active"><a tabindex="0"><label class="radio" title="Select Operator"><input type="radio" value=""> Select Operator</label></a></li><li><a tabindex="0"><label class="radio" title="IF"><input type="radio" value="IF"> IF</label></a></li><li class=""><a tabindex="0"><label class="radio" title="AND"><input type="radio" value="AND"> AND</label></a></li><li class=""><a tabindex="0"><label class="radio" title="OR"><input type="radio" value="OR"> OR</label></a></li></ul></div></span>
                </td>  
                <td style="width:20%;">
                    <span class="multiselect-native-select"><select id="ConditionSelectForRange" name="ConditionSelectForRange" class="btn btn-default dropdown-toggle">
                        <option value="0" selected="">Select Group</option>
                        <option value="Px">Px</option>
                        <option value="Dx">Dx</option>
                    </select><div class="btn-group" style="width: 170px;"><button type="button" class="multiselect dropdown-toggle btn btn-default" data-toggle="dropdown" title="Select Group" style="width: 100%; overflow: hidden; text-overflow: ellipsis;"><span class="multiselect-selected-text">Select Group</span> <b class="caret"></b></button><ul class="multiselect-container dropdown-menu"><li class="active"><a tabindex="0"><label class="radio" title="Select Group"><input type="radio" value="0"> Select Group</label></a></li><li><a tabindex="0"><label class="radio" title="Px"><input type="radio" value="Px"> Px</label></a></li><li class=""><a tabindex="0"><label class="radio" title="Dx"><input type="radio" value="Dx"> Dx</label></a></li></ul></div></span>
                </td>
                <td style="width:20%;">
                    <span class="multiselect-native-select"><select id="ValueSelectForRange" name="ValueSelectForRange" class="btn btn-default dropdown-toggle">
                        <option value="">Select Value</option>
                        <option value="Between">Between</option>
                        <option value="Not Between">Not Between</option>
                    </select><div class="btn-group" style="width: 170px;"><button type="button" class="multiselect dropdown-toggle btn btn-default" data-toggle="dropdown" title="Select Value" style="width: 100%; overflow: hidden; text-overflow: ellipsis;"><span class="multiselect-selected-text">Select Value</span> <b class="caret"></b></button><ul class="multiselect-container dropdown-menu"><li class="active"><a tabindex="0"><label class="radio" title="Select Value"><input type="radio" value=""> Select Value</label></a></li><li class=""><a tabindex="0"><label class="radio" title="Between"><input type="radio" value="Between"> Between</label></a></li><li><a tabindex="0"><label class="radio" title="Not Between"><input type="radio" value="Not Between"> Not Between</label></a></li></ul></div></span>
                </td>
                <td style="width:20%">
                   <input class="form-control" id="RangeBoxFrom" name="RangeBoxFrom" style="width:90%;" type="text" value="">
                </td>
                <td style="width:20%">
                   <input class="form-control" id="RangeBoxTo" name="RangeBoxTo" style="width:90%;" type="text" value="">
                </td>
            </tr>

            <tr>
                <td>
                    <button id="AppendConditionBtn" name="AppendConditionBtn" class="btn btn-default" type="button" style="margin-top:10px;margin-bottom:10px;" value="Append">
                    Append Condition(s)</button>
                </td>
                <td colspan="4">
                    <button id="AppendConditionToParentBtn" name="AppendConditionToParentBtn" class="btn btn-default" type="button" style="margin-top:10px;margin-bottom:10px;" value="Append">
                        Submit 
                    </button>
                </td>
            </tr>
            <tr>
                <td colspan="5">
                    <textarea class="form-control" cols="20" id="ContidionsAndAttributesTextArea" maxlength="900" name="ContidionsAndAttributesTextArea" rows="6" style="width:100%;height:210px; margin-bottom:10px;"></textarea>
                </td>
            </tr>

        </tbody>
    </table>
</form>
</div>

</div><div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"><div class="ui-dialog-buttonset"><button type="button" class="ui-button ui-corner-all ui-widget">Close</button></div></div><div class="ui-resizable-handle ui-resizable-n" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-e" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-s" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-w" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-sw" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-ne" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-nw" style="z-index: 90;"></div></div><script class="beutyfy_html_jodit_helper" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.10.0/beautify.min.js"></script><script class="jodit_ace_editor" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.5/ace.js"></script><div class="ui-widget-overlay ui-front" style="z-index: 100;"></div></body></html>

Open in new window

Avatar of lulu50

ASKER

This textarea is in the dialog box
I want to send whatever is inside to the parent window
the parent window has this

Dialog box 

   <textarea class="form-control" cols="20" id="ContidionsAndAttributesTextArea" maxlength="900" name="ContidionsAndAttributesTextArea" rows="6" style="width:100%;height:210px; margin-bottom:10px;"></textarea>

Open in new window



parent textarea 

 @Html.TextArea("ConditionAttributesAndValues", new { @class = "form-control", @style = "width:77%" })

or html

<div contenteditable="true" aria-disabled="false" tabindex="-1" class="jodit_wysiwyg" spellcheck="true" style="min-height: 148px;">Hello this is where the text need to go</div>

Open in new window

Avatar of lulu50

ASKER

on the  parent page the textarea is turning to a div, because I have it as a text editor.


<div tabindex="-1" class="jodit_wysiwyg" aria-disabled="false" style="min-height: 116px;" contenteditable="true" spellcheck="true"><br></div>

Open in new window

replace :
            var editor = new Jodit("#ConditionAttributesAndValues");
        });

Open in new window


by :
            editor = new Jodit("#ConditionAttributesAndValues");
        });

        window.editor = null;

Open in new window


and use the following to set the editor text :

var text = window.opener.$("#ConditionAttributesAndValues").val();
alert( text );
editor.value = text;

Open in new window

Avatar of lulu50

ASKER

I'm getting this error:

Unhandled exception at line 344, column 13 in eval code

0x800a138f - JavaScript runtime error: Unable to get property '$' of undefined or null reference


the error is on this line:
 var text = window.opener.$("#ConditionAttributesAndValues").val();



parent window: 

 jQuery(function () {
            var maxLength4000 = 4000;
            $(document).on("keyup paste touchend", function () {
                var text = $("#ConditionAttributesAndValues").val();
                var textlen = maxLength4000 - text.length;
                if (text.length > 4000) {
                    editor.value = text.substr(0, 4000);
                }
                $('#rcharsConditionAttributesAndValues').text(textlen);

                if ($("#ConditionAttributesAndValues").val() != '') {
                    $('#ValidateConditionAttributesAndValues').hide();
                }
                else {
                    $('#ValidateConditionAttributesAndValues').show();
                }
            });
            //var editor = new Jodit("#ConditionAttributesAndValues");
       // });
            editor = new Jodit("#ConditionAttributesAndValues");
        });

        window.editor = null;

Open in new window



dialog box window: 



        $("#AppendConditionToParentBtn").click(function () {
            var text = window.opener.$("#ConditionAttributesAndValues").val();
            alert(text);
            editor.value = text;
        });

Open in new window

what this code is supposed to do ?
Avatar of lulu50

ASKER

I attached a sample of my files.

* I have a dialog box that has a textarea called "ContidionsAndAttributesTextArea"
    and a button called "AppendConditionToParentBtn"
   ounce the user click on the button "AppendConditionToParentBtn"
   what ever information in the "ContidionsAndAttributesTextArea"  should go to the index page in the "ConditionAttributesAndValues"
DialogBox.html
index.html
jodit.min.css
jodit.min.js
I mean this code :
var text = window.opener.$("#ConditionAttributesAndValues").val();

Open in new window


why not simply :
var text = $("#ConditionAttributesAndValues").val();

Open in new window

Avatar of lulu50

ASKER

I found out that I need to perform the operation on editor object not directly on textarea

//this code send the text what's in the "ContidionsAndAttributesTextArea" 
to the editor "ConditionAttributesAndValues"
but it's creating a new editor for it. 
I want to append to the existing editor 

var editor = new Jodit('#ConditionAttributesAndValues');    
            editor.value = editor + $("#ContidionsAndAttributesTextArea").text();

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lulu50

ASKER

ah

I got it now !!!!!
Avatar of lulu50

ASKER

I love it!!!!

Thank you so much for all your help!!!!

This is great!!!!

Merci beaucoup!!!!
Avatar of lulu50

ASKER

This is my working code :)
          var text = $("#ContidionsAndAttributesTextArea").val();
            //alert(text);
            editor.value = editor.value + text;

Open in new window

bien joué !
well done !