ajout des ids pour le script js

This commit is contained in:
Damien LASSERRE 2012-01-20 16:21:23 +00:00
parent 2ac050c61f
commit 6e0a6de368

View File

@ -93,7 +93,7 @@ Class Zend_View_Helper_Field extends Zend_View_Helper_Abstract
{
$session = new SessionCiblage();
$return = '<select class="intervalSelect" name="'.$name.'1">';
$return = '<select class="intervalSelect" name="'.$name.'1" id="'.$name.'">';
foreach($field['fields'][$field['type']]['value'] as $elements) {
$return .= '<option value="'. $elements[0].'">'.number_format($elements[0], 0,'', ' ').'</option>';
}
@ -105,7 +105,7 @@ Class Zend_View_Helper_Field extends Zend_View_Helper_Abstract
}
$return .= '</select>';
$return .= ' <a href="" class="intervalSelect" id="'.$name.'">Valider</a>';
$return .= ' <span id="'.$name.'"><a href="" class="intervalSelect" id="'.$name.'">Valider</a></span>';
return ($return);
}