Adsense
Popular Posts
- Amazon web serive
- MySQL workbench -"Could not decrypt password cache"
- git svn conversion
- increase mysql query speed
- Unix Utils and wget in Windows
- add comment to table columns in phpMyAdmin
- Special characters pronunciation link
- deposit cheque in TD bank using Mobile phone
- Setup vi syntax for PHP
- Get WAMP running on EC2
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:
Posts (Atom)