Question: I have both php and javascript in my code. There are links which change javascript variables which are then passed to php via $get. To change the values I'm pretty sure I would have to refresh the page. Where could I put default values such that they load the first time the page does but not on every successive refresh as they would overwrite the values I have already? Thank you!

Answer: 
The `change` event only fires on blur. If you are trying to handle any date selection use the [`select`](http://dev.sencha.com/deploy/ext-3.4.0/docs/source/DateField.html#event-Ext.form.DateField-select) event instead (in ExtJS 3.4).
you can change it into :

```
new Ext.form.DateField({
            id: 'date_from',
            format: 'd/m/Y',
            editable: false,
            listeners: {
            update: {
                fn:function(){
                    console.log('dsd');
                }
            }
        }
 })

```