how to stop generating code on a particular button?

Posted by coure06 on Stack Overflow See other posts from Stack Overflow or by coure06
Published on 2011-03-06T07:57:30Z Indexed on 2011/03/06 8:10 UTC
Read the original article Hit count: 495

Filed under:
|

I am trying to create an input button for my own use in my web-application thats using jquery framework. But when I see the html code in browser, the framework is generating some wrapper code around that input, how to prevent that code to be not generated?

my code:

<input type="button" value="off" class="toggle-btn" id="toggle-btn1" />

Generated output:

<div data-theme="c" class="ui-btn ui-btn-corner-all ui-shadow ui-btn-up-c">
    <span class="ui-btn-inner ui-btn-corner-all">
        <span class="ui-btn-text">off</span>
    </span>
    <input type="button" id="toggle-btn1" class="toggle-btn ui-btn-hidden" value="off">
</div>

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jquery-mobile