Twitter bootstrap collapse: change display of toggle button

try this. http://jsfiddle.net/fVpkm/ Html:- <div class=”row-fluid summary”> <div class=”span11″> <h2>MyHeading</h2> </div> <div class=”span1″> <button class=”btn btn-success” data-toggle=”collapse” data-target=”#intro”>+</button> </div> </div> <div class=”row-fluid summary”> <div id=”intro” class=”collapse”> Here comes the text… </div> </div> JS:- $(‘button’).click(function(){ //you can give id or class name here for $(‘button’) $(this).text(function(i,old){ return old==’+’ ? ‘-‘ : ‘+’; }); }); Update With … Read more

SilverStripe PHP Forms – If I nest a SelectionGroup inside a FieldGroup, one of the related SelectionGroup_Items’ Radio Box does not show up. Why?

You could add another fieldset then set it’s attributes to id=”hidden_field” aria-hidden=”true”. In the css document you could do the following. #hidden_field{ display:none; height:0; width:0; margin:0; padding:0; visibility: hidden; } This should hide SilverStripe Framework’s query behavior. In my own php forms I had random brackets appearing whenever someone submitted a new form numerous times … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)