This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Вмомента имаме това | |
<prdpublicationnode> | |
Aluminium radiators | |
</prdpublicationnode> | |
<prdpublicationnode> | |
Gietjeren radiators | |
</prdpublicationnode> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Meta tag: | |
<meta name="csrf-token" content="{{ csrf_token() }}"> | |
Link for sending the ajax like button or smth else: | |
<a href="{{ url('drlresult') }}" class="submit-selection" data-link="{{ url('getAjax') }}" data-token="{{ csrf_token() }}">Radiatorselectie opslaan/toevoegen</a> | |
ajax setup in the beggining of JS after document ready: | |
$.ajaxSetup({ | |
headers: { | |
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>jQuery UI Draggable - Default functionality</title> | |
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> | |
<link rel="stylesheet" href="/resources/demos/style.css"> | |
<style> | |
#draggable { width: 70px; height: 70px; padding: 0.5em; border-radius: 50%; border: 5px solid red; } |