jquery - Bootstrap button disabled by default, how can I enable it? -


i adding content bootstrap page using $.get() url , working except close button displays if disabled. i've tried btn-primary , btn-info same result. bootstrap offers disabled keyword not enabled one. here html button:

<a class="btn btn-small close"><i class="icon-remove"></i> close</a>

my 2 questions -- why default being disabled , suggestions how make normal button? thanks!

you remove property:

$('#whatever').removeattr('disabled'); 

and disabled property comes html.


Comments

Popular posts from this blog

javascript - CasperJS/PhantomJS failing SSL handshakes on some sites even with --ssl-protocol=any -

codeigniter - Fatal error: Call to undefined function lang() in CI Merchant using CardSave -

python - Received unregistered task using Celery with Django -