1

I have a button with id="remove"

I need a simpletip over it:

<script>  $(document).ready(function(){$("#remove").simpletip();});
</script>

I have included:

<script type="text/javascript" src="http://cdn.jsdelivr.net/jquery.simpletip/1.3.1/jquery.simpletip-1.3.1.min.js.txt"></script>

Do I need to include any other CDN? Why doesn't this work?

  • 1
    Are you sure the extension is `min.js.txt` remove `.txt` it is invalid and will throw 404 not found. – Shaunak D Jun 09 '15 at 05:17
  • 1
    You have wrong url for the script that even does not exists, it should be http://cdn.jsdelivr.net/jquery.simpletip/1.3.1/jquery.simpletip-1.3.1.min.js – Adil Jun 09 '15 at 05:18
  • Okay I did that but still no result? –  Jun 09 '15 at 05:32
  • Start a [jsfiddle](https://jsfiddle.net/) so we can help – Cory Jun 09 '15 at 05:37

2 Answers2

0
  1. load the jquery lib

  2. https://cdn.jsdelivr.net/jquery.simpletip/1.3.1/jquery.simpletip-1.3.1.min.js

and this is a simple DEMO

Leo Silence
  • 1,192
  • 11
  • 22
0

You also have to include a jquery CDN. Here is your button working in a fiddle

Jquery CDN from here: http://jquery.com/download/

  <script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
Cory
  • 1,263
  • 16
  • 31