Adsense
Popular Posts
- Install APXS in Redhat Linux
- MySQL workbench -"Could not decrypt password cache"
- Transfer modules between sites
- JavaScript, remove trailing insignificant zeros after toFixed function
- Set Windows path command line
- datatable order by nunmeric
- MySQL date created and date modified
- super(props) in React
- PHP, dump varailbes in a format way
- React: connect(mapStateToProps, mapDispatchToProps)
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.
Labels:
CodeIgniter
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment