jQuery UI Signature working on local but not working on live server
javascript:
var sig = $('#sig').signature({syncField: '#signature64', syncFormat: 'PNG',svgStyles: true});
$('#clear').click(function(e) {
e.preventDefault();
sig.signature('clear');
$("#signature64").val('');
});
HTML code:
<label class="" for="">Signature:</label>
<br/>
<div id="sig" ></div>
<br/>
<button id="clear" class="btn btn-danger btn-sm">Clear Signature</button>
<textarea id="signature64" name="signed" style="display: none">
</textarea>
route:
Route::POST('bene/store/', [App\Http\Controllers\BeneficiaryController::class, 'store'])->name('beneficiary.store');
everything seems fine but whenever I submit my form got that error
thanks in Advance!!
Increase post max size in php.ini file then this issue will fixed.