Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/01/2010, 05:33
tirengarfio
 
Fecha de Ingreso: septiembre-2008
Mensajes: 146
Antigüedad: 15 años, 8 meses
Puntos: 1
Pregunta sobre unas variables

Hola,

¿que tipo de variables son estas de aquí abajo ( $('x1').value, $('y1').value, $('x2').value )... ?

Código:
<script type="text/javascript" charset="utf-8">
    // setup the callback function
    function onEndCrop( coords, dimensions ) {
        $( 'x1' ).value = coords.x1;
        $( 'y1' ).value = coords.y1;
        $( 'x2' ).value = coords.x2;
        $( 'y2' ).value = coords.y2;
        $( 'width' ).value = dimensions.width;
        $( 'height' ).value = dimensions.height;
    }
</script>

Un saludo

Javi