function hint box function messageBox (option) {var html = '; HTML + = ' <div class= "message-box-head" > ' + option.title;html + = ' <i class= "icon iconfont message-close" ></i></div> "if (option.type = = ' using ') {html + = ' <div C lass= "Message-box-body" > "html + = ' <p class=" message-prompt "> ' + option.content + ' </p> '; html + = ' </ Div> ';} else if (Option.type = = ' disable ') {html + = ' <div class= ' message-box-body ' > '; HTML + = ' <p class= ' message-prompt ' > ' + option.content + ' </p> '; html + = ' </div> ';} else if (Option.type = = ' confirm ') {html + = ' <div class= ' message-box-body reset-pwd ' > '; HTML + = ' <p class= ' Messa Ge-prompt ">" + option.content + ' </p> '; html + = ' <div class= "message-btn por" > '; HTML + = ' <button class= ' Btn-common btn-gray cancel-btn PoA "> Cancel </button>"; HTML + = ' <button class= "Btn-common btn-blue yes-btn PoA" > OK </button> '; html + = ' </div> '; html + = ' </div> ';} else if (OptiOn.type = = ' Confirm2 ') {html + = ' <div class= ' message-box-body confirm-spec ' > '; HTML + = ' <div class= ' Message-prom PT ">"; HTML + = ' <p> ' + option.contenttitle + ' </p> '; html + = ' <p> ' + option.content + ' </p> '; HTML + = ' </div> '; html + = ' <div class= "message-btn por" > '; HTML + = ' <button class= ' Btn-common btn-gray CANCEL-BTN PoA "> Cancel </button>"; HTML + = ' <button class= "Btn-common btn-blue yes-btn PoA" > OK </button > '; HTML + = ' </div> '; html + = ' </div> ';} $ (". Message-box-main"). Empty (). append (HTML); $ (". Message-box"). AddClass (' show ');//Click Cancel Event $ (". Cancel-btn"). Click ( Function () {$ (". Message-box"). Removeclass (' show '); if (option.cancel) {option.cancel ();}}); /Click OK event $ (". Yes-btn"). Click (function () {$ (". Message-box"). Removeclass (' show '); if (Option.surefun) {Option.surefun ( );}});/ /Click the icon to cancel the event $ (". Message-close"). Click (function () {$ (". Message-box"). Removeclass (' show '); if (Option.callback) { Option.callback ();}});}
JS Function Bullet Box Package