[eluser]Unknown[/eluser]
is it possible to add the html5 data-* attribute in form_dropdown?
$options = array(
'small' => 'Small Shirt',
'med' => 'Medium Shirt',
'large' => 'Large Shirt',
'xlarge' => 'Extra Large Shirt',
);
this is the 2nd parameter of the form_dropdown function, but how can i add the data attribute here?