• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make a large select form sticky

#1
[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?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.