Help with jQuery Mods and Hacks for your Ning Network!

I am trying to add this custom javascript and css code in a page

<script src="http://code.jquery.com/jquery-1.11.0.min.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" charset="utf-8">
    $('.subject').append('<button class="download" style="float: right;">DOWNLOAD</button>');

 $('.download').click(function() {
     $(this).parent().next('table').slideToggle('fast').css('display', 'block');

    .subject {
      color: #009fdb;
      display: block;
      font-size: 20px;
      margin: -5px 0px 5px;
      width: 100%;
    .files {
      display: none;

Every time i got his error

This is the html code i put in HTML editor

<section class="handouts">
        <h1>Frequently asked subjects</h1>
        <p class="subject">ACC311 - Fundamentals of Auditing </p>
        <table class="files" align="right">

Views: 42

Reply to This


Temporarily Offline

Friends of Friends

© 2018   Created by TJ @ jQueryHelp.   Powered by

Badges  |  Report an Issue  |  Terms of Service