Adsense
Popular Posts
- MySQL workbench -"Could not decrypt password cache"
- Install APXS in Redhat Linux
- react-pdf, display pdf in react.js
- Set Windows path command line
- MySQL date created and date modified
- Transfer modules between sites
- DataTable table order by numeric, not by text
- datatable order by nunmeric
- mod_auth_cas.so error: undefined symbol: SSL_connect
- JavaScript, remove trailing insignificant zeros after toFixed function
Saturday, October 31, 2015
Set CSS property in CodeIgniter helper
For example I want to add display:none in a button in CodeIgniter helper:
echo helper::generateHTMLButton('addPadRankButton', 'Add', array('disabled'=>'disabled', 'id'=>'','style'=>'display:none', 'class' => 'addPadRankButton'));
Using 'style'=>'display:none' in last parameter (array) of helper function to set CSS style.
Subscribe to:
Comments (Atom)