PristoMiky PristoMiky
0
I'm currently building a SaaS that provides some analysis of financial data for businesses. In this use-case, it's very important to build solid and easy to use integrations with various data providers the business might be using, like Stripe, Quickb...
IseyGarfield IseyGarfield
3
Does anyone have recommendations of JavaScript projects that have beautiful/helpful/clean Git histories? Something that would convey the importance of good commit messages and effective release management? I'd also be interested in hearing opinions o...
Reprogammer Reprogammer
0
I'm trying to use Lodash throttle to control how many times my AJAX will run, however, it doesn't seem to work. I don't know if my syntax is wrong or something. I'm grateful for any suggestion. here is my AJAX function ajaxThrot(){ $...
Reprogammer Reprogammer
1
I downloaded the script and implemented it in my projects public/js directory I tested it with the following code, however, nothing is popping out of my console. const menuItems = [ 'A', 'B', 'C', 'D', 'E', 'F', ] const newMenu = _.chunk(m...
Hi all, Simple question for all the JavaScript cracks out there, I think: In function H(t=0, e=t) { return function(n, i=window) { const r = i === window || void 0 == i ? window.pageYOffset : i.scrollTop what does const r = i === windo...
Mischa replied
Solved
Mash Square Mash Square
0
Hi all I hope you guys have some ideas on how to do this, I'm not familiar with Alpine JS, but since I needed to use Quill on a view where I have Livewire this solution which seems to work. I need to enable some additional toolbar options like in the...
LaraLink LaraLink
9
Just curious as to what everyones personal preference is and why? Since I've been using laravel i haven't used either or and I'm wanting to do a small project to learn one of them but im curious to the pros and cons of each....
vincent15000 vincent15000
1
Hello, I have just installed jquery with npm. I don't know if I had this error before jquery installation or not. [webpack-cli] Error: Cannot find module 'webpackbar' I have tried to update npm but I have this error each time I run npm run .... Do y...
akmalelias akmalelias
5
Hello, I have this code but upon click the submit button, the javascript function not been called to prevent default, instead, the form been submitted to the url which is not as per intended. <table class="datatable table table-bordered"...
anand_aks anand_aks
2
I am retrieving the session array from the controller using ajax, then in the loop checking the required value is present in the array index. barcode = '010001' data['session'] = { "010001": { "id": "010001",...
daniel2 daniel2
2
Hi, I'm trying to make a get request to an API endpoint and I just cannot figure out what I'm doing wrong here. I'm trying to make a simple get request to an endpoint and capture a search query. This is the code I have. axios.get( '{{ url( 'api/sear...
daniel2 replied
Solved
Reprogammer Reprogammer
2
I have this project wherein I'm making a barcode scanner with Quagga.js for IDs using a laptop's, or a phone's camera, the thing is it keeps scanning multiple times the longer the scanner is focused on the barcode thus sending multiple requests to th...
Daniel1836 Daniel1836
10
I know jQuery isn't the most popular. But I have an issue, where jQuery receives form data through an ID, and passes it through AJAX to my PHP. My code works as it's supposed to. But when I access the same function (through different files) (because...
jlrdw replied
Solved
bobbydestefano352 bobbydestefano352
1
Hi I'm Bobby a novice developer at Area52 the site I’m working on is in test phase and needs to look like this app development company https://area52.com/delta-8-products/ I am doing internship and I have been given an internship task to convert ps...
chesterBot chesterBot
1
I have a countdown on my website the which is working fine on all browsers and Andriod mobiles, except iPhone.there it shows Nan:Nan: Nan below is the code. has anyone experienced this before? // Set the expiry date var countDownDate = new Date(...
Reprogammer Reprogammer
4
I'm creating a live search function for my project. However, I keep encountering POST 500 Internal Server Error. Here is my AJAX $('body').on('keyup','#search-posts',function(){ var searchQuest = $(this).val(); $.ajax({ u...
datlechin datlechin
17
When I choose another option nothing happens My select <select class="form-control select2 select_location" name="group_id"> @foreach($categories as $category) <option value="{{ $category->id }}"...
User1980 User1980
1
Hi All, Any idea how to push but have the first key with a different name please? ie: this.samples.push({keyToBeRenamedEachTime: this.value, sampleText: this.text}); Everything I try fails. I have nothing to do something like that but it causes an e...
joshblevins joshblevins
1
I have a form with expiration dates of about 30 medications. Is it possible in java script to check all date fields on a given page and alert the user prior to submission of the form that a medication is going to expire before the end of the month?...
Johny-22 Johny-22
1
Hi everyone, Can't you advise me how to set up a disabled checkbox if one is checked? I need to be able to check only one input. Well thank you <div x-data="{ select: false }"> <input id="service" type="checkbox...
Hi everyone, could you advise me how to make. I need to set this value after clicking on the company name in dropdown, ie the name of the company in the input with id sender_company_name I would like to do this with Alpine.Js. THANK YOU // search com...
ssquare ssquare
0
I am having issues while trying to add token on axios request. I have not used default bootstrap.js provided by laravel itself (which contains the initializtion for axios as well). I am trying to follow more like independent react architecture but wi...
Reprogammer Reprogammer
3
I'd appreciate any help. Thanks! Here is my controller $users = \DB::table('users') ->select(\DB::raw('id', 'userType', 'username', 'fname', 'lname', 'contactNo')) ->where('id', '=', $id)...
Hi, I have been trying to send each result from results in my db to an endpoint but i keep getting 502 errors and 400 errors, mainly because my server cannot understand my requests or the responses from it. Funny thing is that when i send the exact r...
Reprogammer Reprogammer
3
I have a project wherein if I scan a user's barcode the user is logged in to the database. All components are working for the scanner part but when a barcode is scanned I keep getting the 500-Internal Server Error. Now, I know that this error pops up...
Hi dev! I need to find the viewed time of an HTML video from when a user click "play", to when click "pause"; at the moment i have found only the currentTime with a code like this, but this is not what i need: $("video")...
I'm working on a solution that will take values from the screen when someone is browsing Google Maps. They will interact with it. Then I want to create a way for my solution to grab values currently on the screen and use them/save them into a MySQL d...
spidey spidey
11
I have a contact form within a modal and I want to send that form using a regular axios/ajax request. this.form.post(route('contact-form.submit'), { preserveScroll: true }).then(response => { if (! this.form.hasErrors()) { this.sen...
Daniel1836 Daniel1836
0
I'm having an issue where my switch works for some string cases but not others. onclick="display('DIVISIONS')" The 'DIVISIONS' argument sends it to the correct file, which I know is working. (Because other cases work) My switch in another...
malvin18 malvin18
1
I'm using spatie media library and I can upload images to storage and database. And I'm trying to display media collection in a vue component. This is my Controller. public function showHotelPhoto($id) { $hotel = Hotel::with('media'); return...
anilkumarthakur60 anilkumarthakur60
4
when I am clicking on the image the image gets open but does work as expected I am expecting a magnefic popup I am using magnific popup CDN here is my blade file bootstrap CSS js, jquery file is already linked in the main page @extends('welcome') @se...
oussamaSid oussamaSid
1
i'm building website using alpinejs and i want to when the user hit backslash the cursor auto focus on search bar. Note: i tried x-ref directive with $nextTick and nothing happened :) any Help...
hjortur17 hjortur17
14
Any ideas how I can get VUE to return the price I'm calculating instead of Promise Here is the code: price: async function () { let priceForDays = 0; let finalPrice = 0; let prices = await axios.get('/api/prices/get/' + this.booking.luggage...
TrishaSeliya TrishaSeliya
3
hey all! i'm applying for a lot of 'full stack' roles, but full stack seems to mean front end but can edit services at a lot of companies. i'm not really prepared for js based coding interviews; does anyone know of repos/example questions that are go...
astro_369 astro_369
1
my ajax request looks like : in report.js report = $('table#report_table').DataTable({ processing: true, serverSide: true, ajax:{ url: '/report', }, columns: [ { data: 'invoice_no'}, ] }); in controller reportController public func...
sr57 replied
Solved
Create a New Discussion Button