0

谁能告诉我为什么javascript不会在这个页面上运行?

我有相同的 javascript 文件链接到其他页面,它在它们上完美运行。我花了很多时间来找出问题所在,但似乎没有任何效果。

谁能帮我吗?

<!DOCTYPE html>
<html>
    <head>

        <link href="https://thepropaganda.co/dublin-app/static/styles/adminStyles/style.css"" rel=stylesheet type="text/css" media="all" />
        <script type="text/javascript" src="https://thepropaganda.co/dublin-app/static/js/SampleApp.js"></script>


    </head>

    <body>

        <div class="navbar">
              <div class="navbar-inner">
                <div class="container">
                  <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                  </a>
                  <a class="brand" href="https://thepropaganda.co/dublin-app/">RSVPme</a>
                  <div class="nav-collapse collapse">
                    <ul class="nav">

                      <li><a href="https://thepropaganda.co/dublin-app/admin/create_event">Create Event</a></li>
                      <li><a href="https://thepropaganda.co/dublin-app/admin/manage_events">Manage Events</a></li>
                      <li><a href="https://thepropaganda.co/dublin-app/admin/manage_events">Bookings</a></li>
                      <li><a href="https://thepropaganda.co/dublin-app/admin/test"> Test</a></li>
                    </ul>
                  </div><!--/.nav-collapse -->
                </div>
              </div>
            </div>
<div id="eventsTable" >
    <table class="manageEventsTable" >
        <tr>
            <th>Name</th>
            <th>Date</th>
            <th>Guestlist</th>
            <th>Cheaplist</th>
            <th>Delete</th>
            <th>Guestlist</th>

        </tr>
                    <tr>
                <td> <center> Propaganda Dublin - 24/08/13 </center> </td>
                <td> <center>24-08-2013 </center></td>
                <td> <center>0 </center></td>
                <td> <center>2 </center></td>
                <td> <center>
                                    <a class="deleteEvent" href='https://thepropaganda.co/dublin-app/admin/event/id/8' ><img src="https://thepropaganda.co/dublin-app/static/resources/delete.png" width = '20' height ='20'> </a>
                    </center>
                </td>
                <td> <center>
                                    <a href='https://thepropaganda.co/dublin-app/admin/guestlist/id/8' ><img src="https://thepropaganda.co/dublin-app/static/resources/download.png" width = '20' height ='20'> </a>
                    </center>
                </td>
            </tr>

                    <tr>
                <td> <center> Propaganda Dublin - 31/8   </center> </td>
                <td> <center>31-08-2013 </center></td>
                <td> <center>0 </center></td>
                <td> <center>1 </center></td>
                <td> <center>
                                    <a class="deleteEvent" href='https://thepropaganda.co/dublin-app/admin/event/id/10' ><img src="https://thepropaganda.co/dublin-app/static/resources/delete.png" width = '20' height ='20'> </a>
                    </center>
                </td>
                <td> <center>
                                    <a href='https://thepropaganda.co/dublin-app/admin/guestlist/id/10' ><img src="https://thepropaganda.co/dublin-app/static/resources/download.png" width = '20' height ='20'> </a>
                    </center>
                </td>
            </tr>


    </table>
</div>    

        <!------ jQuery box ---->
                <div id="confirmDialog" style="display: none;" > 
                    <p style="font-size: 14px;" >
                        Are you sure you want to delete the event?
                    </p>
                </br>
                </div>


        </body>
</html>
4

1 回答 1

2

如果您查看错误控制台,您会看到,没有定义 jQuery。

于 2013-08-18T02:04:33.713 回答