Cloning rows, but....

Hi all, I have a form and a button of which I clone the row, however this all works fine; but I have a select to select a user. Upon selection it's sends an ajax req...

JS XHR failed loading: GET

Hi, I am using the following code to submit an ajax request to google maps. I am trying to send an address (#getaddy) to google and get the latitude and longitude from the...

Are there any tutorials on Laracasts to learn about app.js?

I don't understand the import stuff and how it all works, are there tutorials on this site? Thanks...

ES2015 Crash Course

Hello! I wanna learn javascript but i am beginner. Is ES2015 Crash course good to start with it? Should i start learning js from your ES2015 Crash Course or should i search...

Strugging with Google Places autocomplete and search

Hi All, I have gotten google autocomplete to work, but just in case the user doesn't select the autocomplete, I am trying to submit the address to google and retrieve the l...

table.ajax.url

Any clue what this means: table.ajax.url(url + "&date="+$(this).val()).load(); Is it ajax syntax or what?...

what is .then for?

Hello, I cannot understand what is .then is for? Why even use .then? why not just goes with function(data){ }) without .then? myForm.addEventL...

Dynamically changing the value of a checkbox depending on the click status

Am working on a checkbox input and am when it is clicked to opens some input fields in the DOM, when not clicked the div is hidden,, I want to add some functionality using...

How to make a multi select value into single string using javascript or in laravel?

Guys i am working with a project job portal site. i have a form which asks the seeker desired job location to work. it is a multiple dropdown select box....

Modal window not work

Hiii! I'm doing a modal window a it's not working. I should have an error but I can't find it. I followed a tutorial from Internet and it seems easy but I can't do i...

How to add objects dynamically based on pre defined structure, if the object doesn't exists or null?

Lets say this is the response from my api user = { profile: { name: "John", age: 32, links: [ {...

get month from date

How to get month from date? var valtgl = $("#val-tgl").val(); //var month = valtgl.getMonth() this is the v...

Code interpret

Hello, Can you help interpret the following code. Doe that mean if the code does not load Loading message will keeps appearing? $("#val-tgl"...

DataTables warning: table id=organizationTable - Invalid JSON response.

When I successfully update my form from AJax and reload the datatable, I will receive an error message saying DataTables warning: table id=organizationTable - Inval...

Using JS to get JSON for lat and long

Hi, I am getting a users lat and long from google when they submit an address using the autocomplete api. I am trying to take it one step further by catching anyone who sub...

Datetime Picker Linked Validation

I have 2 DateTime Pickers on my page, a Start and End. If the start date/time is selected, then for the End picker, all the dates before the Start date/time should be disab...

Issue comparing 2 dates using parsley javascript

Am working on a form whereby I have 2 inputs containing 2 date inputs mainly the departure date and return date. I am using parsley javascript for validation. I need assist...

how to store laravel session in local storage or web storage

i need to save form data in order to return them on page refresh, then clear the form when a button is clicked. a good example is the shopping cart so it remain with user s...

did not work jquery codes in Laravel 5.6 app

working with Laravel 5.6 and I have following raw php codes segments to converts with My Laravel project, <!DOCTYPE html> <html> <head> <...

Laravel how to store image to mysql using ajax

Hi Friends, Please I need help as I want to save image to mysql using ajax in laravel if some has sample please share with me. thank you. regards, asad...
Create a New Discussion Button
Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels