我究竟做错了什么 ?括号无效的字符

时间:2016-07-30 04:24:46

标签: asp.net-mvc visual-studio razor onclick

错误列表:无效字符。 onclick =“OpenCreatePopup()

 <div class="row">
        <div class="form-inline col-sm-8">
            <div class="input-group">
                <span class="input-group-btn">
                    <button class="btn btn-secondary" type="submit">Search</button>
                </span>
                <input type="number"
                       step="0"
                       name="number"
                       class="form-control"
                       style="display: inline"
                       placeholder="Id" />
            </div>
            <input type="text"
                   name="description"
                   class="form-control"
                   style="display: inline"
                   placeholder="Description" />

            <input type="text"
                   name="countryid"
                   class="form-control"
                   style="display: inline"
                   placeholder="Country" />
        </div>

        <div class="pull-right col-lg-1">
            <span class="glyphicon glyphicon-plus btn btn-success" aria-hidden="true" onclick="OpenCreatePopup()" title="Create"></span>
        </div>
    </div>

enter image description here

当我编辑错误消失时,这是一个错误吗?

细节:按钮正确模态打开。

程序:Visual Studio 2015

0 个答案:

没有答案