Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Jorge Alcalá
Added: Sep 10, 2018 1:11 PM
Views: 6
  1. <label for='cmbMarcas' class='etiqueta'>(*)<?php echo _n('Marca');?></label><br />
  2.         <?php echo select_tag('cmbMarcas',objects_for_select($marcas, 'getClacatadet', 'getNomcatadet',$datos['claMarca'],array('include_custom' => _n('Seleccione la Marca')) ),array('class'=>'combo'));?><br />
  3.        
  4. <?php
  5. echo observe_field('cmbMarcas', array(
  6.                         'update' => 'subM',
  7.                         'url' => 'empleados/comboSubMarcas',
  8.                         'with'  => "'claMarca='+value"
  9.         ));
  10. ?>
  11.        
  12. <label for='cmbSubMarcas' class='etiqueta'>(*)<?php echo _n('SubMarca');?></label><br />
  13. <div id="subM" style="display:inline;"><?php echo select_tag('cmbSubMarcas',objects_for_select($subMarcas, 'getClacatadet', 'getNomcatadet',$datos['claSubMarca'],array('include_custom' => _n('Seleccione la SubMarca'))),array('class'=>'combo'));?></div><br />