select.genericList

Mostrando 0 respuestas a los debates
  • Autor
    Entradas
    • #109488
      rdgutiRuben Gutierrez
      Participante

      Hola, No se si esta categoría del Foro sera la correcta para esta pregunta, tengo el siguiente código y al seleccionar un valor (por ejemplo 20000), necesito que me incluya el 20000 también. gracias.

      $priceto = $mainframe->getUserStateFromRequest( $option.’priceTo’, ‘priceTo’, ‘0’, ‘string’ );
      $priceto = JString::strtolower( $priceto );

      $maxprice = array(
      ‘0’ => array(‘value’ => ‘0’, ‘text’ => ”.JText::_( ‘MOD_RDAUTOS_PLEASE_SELECT_PRICE’ ).”),
      ‘1’ => array(‘value’ => ‘5000’, ‘text’ => showprice( $config->currencyholder ,5000, $config->currency )),
      ‘2’ => array(‘value’ => ‘10000’, ‘text’ => showprice( $config->currencyholder ,10000, $config->currency )),
      ‘3’ => array(‘value’ => ‘20000’, ‘text’ => showprice( $config->currencyholder ,20000, $config->currency )),
      ‘4’ => array(‘value’ => ‘30000’, ‘text’ => showprice( $config->currencyholder ,30000, $config->currency )),
      ‘5’ => array(‘value’ => ‘40000’, ‘text’ => showprice( $config->currencyholder ,40000, $config->currency )),
      ‘6’ => array(‘value’ => ‘50000’, ‘text’ => showprice( $config->currencyholder ,50000, $config->currency )),
      ‘7’ => array(‘value’ => ‘60000’, ‘text’ => showprice( $config->currencyholder ,60000, $config->currency )),
      ‘8’ => array(‘value’ => ‘70000’, ‘text’ => showprice( $config->currencyholder ,70000, $config->currency )),
      ‘9’ => array(‘value’ => ‘80000’, ‘text’ => showprice( $config->currencyholder ,80000, $config->currency )),
      ’10’ => array(‘value’ => ‘90000’, ‘text’ => showprice( $config->currencyholder ,90000, $config->currency )),

      );
      $lists[price] = JHTML::_(‘select.genericList’, $maxprice, ‘priceTo’, ‘ class=”inputbox” ‘.$javascriptingisoff,
      ‘value’, ‘text’, (int)$priceto );

Mostrando 0 respuestas a los debates
  • Debes estar registrado para responder a este debate.
Esta web utiliza cookies propias y de terceros para su correcto funcionamiento y para fines analíticos y para mostrarte publicidad relacionada con sus preferencias en base a un perfil elaborado a partir de tus hábitos de navegación. Contiene enlaces a sitios web de terceros con políticas de privacidad ajenas que podrás aceptar o no cuando accedas a ellos. Al hacer clic en el botón Aceptar, acepta el uso de estas tecnologías y el procesamiento de tus datos para estos propósitos. Ver
Privacidad