Ver Mensaje Individual
  #4 (permalink)  
Antiguo 19/10/2010, 14:42
Avatar de chicohot20
chicohot20
 
Fecha de Ingreso: mayo-2009
Mensajes: 388
Antigüedad: 15 años
Puntos: 43
Respuesta: Capturar id de un select con jquery

Código HTML:
Ver original
  1. <script type="text/javascript" src="js/jquery.js"></script>
  2. <script type="text/javascript" >
  3. $(document).ready(function(){
  4.  
  5.     $("#id_obra").click(function(){
  6.         alert($(this).val());
  7.     })
  8.  
  9. });
  10.  
  11. <select id="id_obra">