单击选项卡后,我只想显示此警报一次?它多次出现在我面前?

时间:2017-05-22 10:05:06

标签: javascript

我想在点击

后只显示一次提醒
<div class="alert_box">
    <div class="cjtd_party_busy_alert dialog" title="">

        <span class="close_btn_s">X</span>
        <h3>Alert!</h3>
        <h4>
            <div>
                @if (busyParties.Count == 1)
                {
                    <span>@busyParties.FirstOrDefault() </span>
                }
                else
                {
                    foreach (var party in busyParties)
                    {
                        <span>@party </span>
                        if (!party.Equals(busyParties.Last(), StringComparison.OrdinalIgnoreCase))
                        {
                            <span>,</span>
                        }
                    }
                }
                may be engaged in another appointment.
                <br /><br />
                For details, perform queue search.
            </div>
        </h4>
    </div>
</div>

0 个答案:

没有答案