oJM86o
oJM86o

Reputation: 2118

jQuery ProgressBar - Object doesnt support?

Just trying to add a jQuery progressbar on the site. I did what the jquery docs said adding a div with id = progressbar

<div id="progressbar"></div>

Then I have:

<script src="include/jquery-1.5.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
  $('#progressbar').progressbar({ value: 37 }); //dies here
   });

But I see object does not support this property or method in IE. It points to line "21" char 3 which is just that line:

  $('#progressbar').progressbar({ value: 37 }); //dies here

Do I need to do something else to get this progress bar to display ?

Edit

I also added:

<script src="include/jquery-ui-1.8.13.custom.min.js" type="text/javascript"></script> So now I dont see the error but I also don't see a progress bar...

Upvotes: 0

Views: 1340

Answers (2)

oJM86o
oJM86o

Reputation: 2118

Ahh I forgot to add the css file, its working now.

Upvotes: -3

Scott Harwell
Scott Harwell

Reputation: 7465

Include the jQuery, jQuery UI js file, and jQuery UI CSS file and it should show up. My guess is that you are missing the CSS file.

Upvotes: 4

Related Questions