Joe Pigott
Joe Pigott

Reputation: 8469

JQuery '.ui-icon-script' not working

Here

The JS:

$('p').button({icons: {secondary: '.ui-icon-script'}});

I don't know what's wrong...but on the jquery theme I downloaded, it has an example of a script icon. When I try it myself, the icon doesn't show as the script icon, it shows as '.ui-icon-carat-1-n'.

Upvotes: 0

Views: 70

Answers (1)

lc.
lc.

Reputation: 116538

The class name is ui-icon-script, not .ui-icon-script.

http://jsfiddle.net/FKZL6/

Upvotes: 2

Related Questions