Jquery Text editor issue

2019-03-04 02:07发布

The following the code of the page where I want to use Jquery Text Editor (jqte). However, after much trying nothing seems to be working. I have included the required files in the same folder as the aspx page.The Jquery reference is included on the masterpage.

<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ArticleView.aspx.cs" Inherits="Articles_ArticleView" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="jquery-te-1.3.6.css" rel="stylesheet" type="text/css" />
    <script src="jquery-te-1.3.6.min.js" type="text/javascript"></script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div></div>

    <div>
        <textarea class="jqte-test" name="textarea"></textarea>
        <div name="div" class="jqte-test"></div>
    </div>

    <div></div>

    <script>
        $('.jqte-test').jqte();
    </script>
</asp:Content>

0条回答
登录 后发表回答