.button() initializer works on any HTML element

.button() initializer works on any HTML element

Hello all. There is a feature in JQM wherin you can initialise a button using Jquery as follows. $("button").button(); This will add the button styles to the button. Works fine! However the thing that bothers me is that this will work on any html element like img, p and span and about any other html element. Is this is bug and should I go ahead and report it? Cheers! Shreerang Web Developer Spatial Unlimited