Author Archives: Admin

Datepicker jquery validation message not picker validation message using rules jquery.

Solution:use the $(this).valid() function in the date picker

For example see the below code

Simple Example for Datatable display

Simple Example for Datatable display.
If the html button not displaying in the view page use the escapeColumns([‘id’]) function
return Datatables::of($result)->escapeColumns([‘id’])->make(true);

Javascript File

Php Files

view File

Getting the error in laravel SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘updated_at’ in ‘field list’

Getting the error in laravel SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘updated_at’ in ‘field list’

(SQL: update emp_details set testID = 999, updated_at = 2018-09-03 14:50:09 where (testID = 1))

This error usually comes when the updated_at field missing in the laravel table.if the fields are not in the table in the database we can add the below conditions to fix the issue.

Redirect to a url when the video playing ends using html5

Jquery Click event firing Multiple times/On change event happens more than twice

Below Ajax code executing more than once in a single change event.Here if i m trying to upload the file in the ajax call server side script is executing more than once

Soultion: change the click action with bind option as below

Dynamicallay generated Checkbox validation using jquery

Laravel blade

Jquery code

Ajax based File upload using Form data not working in laravel

Below is my ajax code to upload the file

Please add the below code to work the fileupload proper

if the issue still exists add the following extra things in the ajax call

Dynamically generated content in the web page contains an onclick action not working

please see the code

below link is generated via ajax call based on one dropdown selection

file download code looks like as below

The above code is not firing the download action

Solution: change the first line of code-instead of click add on action