How to make a large select form sticky - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: How to make a large select form sticky (/showthread.php?tid=45730) |
How to make a large select form sticky - El Forum - 10-03-2011 [eluser]Chris Blackwell[/eluser] I have a large select for with many options in it, and I'd like to make it "sticky". I was hoping that CodeIgniter might have an easier way to do this then: Code: <?php if($_POST['value'] == something) { echo 'selected="selected"'; } ?> Does anybody know of a better way? |