getting old value from change event

I am using html form, which is tagged as date. I want to check the old value after .change is called my code: $(‘#date’).change(function(event) { event.preventDefault(); $(‘#list_data’).html(”); $(‘#btndownload’).hide(); $(‘#btngenerate’).hide(); val = $(this).val(); //want to change it to old/previous value if(val || val !=””){ console.log(“this value: ” +val); $(‘#btnview’).show(); } else{ $(‘#btnview’).hide(); console.log(“closed”); } }); any…

Details

Database Exception: Column not found: 1054 Unknown column ‘position’ in ‘order clause’

I deployed the project from the git repository on hosting. When trying to open the homepage I get the following error: Database Exception SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘position’ in ‘order clause’ The SQL being executed was: SELECT `elements`.`id`, `elements`.`fieldLayoutId`, `elements`.`uid`, `elements`.`enabled`, `elements`.`archived`, `elements`.`dateCreated`, `elements`.`dateUpdated`, `elements_sites`.`slug`, `elements_sites`.`siteId`, `elements_sites`.`enabled` AS `enabledForSite`, `elements_sites`.`uri`, `categories`.`groupId`, `content`.`id`…

Details

install centos older kernel version

Currently I’m using Kernel version 3.10.0-1062.el7.x86_64 and I want to downgrade to 3.10.0-957.27.2.el7.x86_64 (that was not installed, it needed to support existing project) I’ve tried: yum install kernel-3.10.0-957.27.2.el7.x86_64 Failed to set locale, defaulting to C Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.gigenet.com * epel: mirror.steadfastnet.com * extras: mirror.steadfastnet.com * updates:…

Details