imrulhasan273 imrulhasan273
2

How can I convert `data[1]` to integer format in JQuery-Ajax?

$.ajax({ type: "get", url: "{{ route('ajaxReview.rating') }}", data: { id:...
JeroenvanRensen JeroenvanRensen
3

JS - Reg ex new value in str replace

Hi everyone, I have got a problem with Regular Expressions. I do have this string: https://nl.wikipedia.org/wiki/Republikeinwever...
imrulhasan273 imrulhasan273
5

How can I get the value of `<a>` tag from blade into `js` file using JQuery?

<div class="p-rating"> <a value ="1" type="button" class="btn RatingAjax1"><i class=&quo...
BrownieCoffee BrownieCoffee
1

Display modal for specific user

Hi there. I have js file and blade.php file I would like to display modal to his user. Actually I have this logic bellow....

How to get keycode in an input event

Here is the code: let el = document.querySelector("input[name='test']") el.addEventListener('input', (e)=>{ console.log(e.keyCode) })...

Pass data to modal using jquery

I need to do my edit function in the modal pop-up. This is the button that makes modal pop-up <a href="" id="{{ $c->id }}" t...
ziggyspider ziggyspider
5

app.js in the head or the body? (Laravel added by default in the head), why?

Why Laravel adds by the default the app.js script line in the head and not at the end of the body ???...
imrulhasan273 imrulhasan273
4

How can I update the cart in a the tag using the `ajax` data in Laravel?

$.ajax({ type:'get', data:{'id':ID}, url:"{{ route('ajaxcart') }}", success:function(data){ alert(dat...
imrulhasan273 imrulhasan273
3

How can I fix the JQuery-Ajax request and response in Laravel?

I am trying to pass product ID to the controller through JQuery-Ajax method. Frontend.blade.php...
mstdmstd mstdmstd
1

I search WYSIWYG ediitor livewire/alpine

Hello, Can you advice some modern WYSIWYG ediitor compatible with laravel 7 /livewire 1.3 / turbolinks:5.2 / [email protected] / bootstrap 4.5 and link to installation guide...
screwtape_mk screwtape_mk
1

Dynamically add/remove text fields in a form

I am trying to create a form that allows a user to enter a series of emails by dynamically adding a new text field. I have followed this implementation of here which works...
screwtape_mk screwtape_mk
7

Prepopulate text field in a JQUERY with a URL parameter value

I want to pre - populate text box (and gray it out for editing) with a URL parameter value inside a jquery snippet of code: The Jquery code: jQuery(do...
vincent15000 vincent15000
1

Form and jQuery

Hello, I have a form for some drawings with different fields, some fields are relations with other tables, for example I have a select named substrate_id...
kkatwork kkatwork
3

Javascript events sometimes don't work

Hello, In my application I am using javascript video element events like, onplaying, onpause, onstalled etc. The problem is, these elements do not get fired e...
SunnyBoy SunnyBoy
4

Upload an image using drag & drop over a placeholder image.

I have been tying to work it out since last couple of days... and finally hope i would get some answers from the lavarel community. While working my Laravel project...

Alpine Extract value from select[option]

Trying to use the x-model.number to get values from select option to calculate the values. Using input text works. How do I translate it on select option?...
Ap3twe replied
Solved
connecteev connecteev
0

Nuxt subdomain routing

I'm trying to implement subdomain routing in Nuxt. This is what I need to do: /pages/username/index.vue: username1.mydomain.com (this page should display &qu...

File Upload with Circle Animated Progress Bar using jQuery Ajax and Laravel

I want to submit a form which include Text, Image and Video. But I want upload Image and Video before Submitting form. Also, when upload file in the same time animation loa...
vinubangs vinubangs
4

Save image as icon onclick button.

I have a button in my webpage in LARAVEL. If I click on that button then an image downloads. But I need, if click on button then image should be download in icon and...
nikunj001 nikunj001
1

Jqgrid is not saving the column sequence even after removing the column from table.

Hi i was trying to fined the solution on forum also but i have not got any response. i am able to remove the column from Reorder Column in first instance. But when i...
IvanRadojevic IvanRadojevic
4

chart.js labels

Does anyone knowing how to show every 7th date on labels, instead 30 dates?...

Laravel echo: listenForWhisper not working

Hello, I want to build a simple call between 2 persons on my app, there is a button the the top left, when I click I want to show a popup for the second person witho...
sahu4you sahu4you
1

URL &amp; CSS Folder same name problem

I have live laravel project. I'm using nginx server. I have a url -> https://www.sahu4you.c...

Need JS Advice: How to DYNAMICALLY present catgories in a view

I use a nested set mode. All my categories work fine and present fine on the page. What I want is to be able to manipulate them dynmically on the page in t...
cristimocean cristimocean
0

Pusher stops working after installing bootswatch

I've tested this a couple time by using git stash and reverting before the install. Pusher is working just fine, then I run npm install bootswatch (some bootstrap themes pa...

SCRIPT5018: SCRIPT5018: Unexpected quantifier - Vuejs / js

Hello, I am having an error in vue.js that does not show up in Chrome(In chrome it works). It is a script that downloads a zip file, I cannot work out what is...
Boubou replied
Solved
coder222 coder222
6

Evaluate the result of a Promise

Hi, I have this code (Vue methods) saveForm() { axios.post('/post', data) .then(response => response.data) // completed normally .catch(err...
GrahamMorbyDev GrahamMorbyDev
2

Stop GTM running if Adblocker is present

Im loading GTM into the head of my site with an iframe <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TAG" hei...
Gabotronix Gabotronix
1

Is there a npm package with v-if v-else syntax for react-native?

Coming from vue having to use ternary operators in code seems so ugly, is there a package to use something similar to vue's conditional rendering with v-if and v-else to pu...
ehabafia ehabafia
4

What is the use of defer in the app.js

Hello, Laravel community. I am trying to use select2.js library but for some reason, it refuses to work. After allot of tries I just moved the word defer from...
Gabotronix Gabotronix
0

How to enable strict mode in mobx store, react-native.

Hi everybody, how can I enable strict mode for my mobx stores in my react-native map, I use mobx stores along with react context API and hooks. After reading docs strict mo...
NickCourage NickCourage
4

How can I use AJAX to get a list of records in the view for a jQuery array?

I'm trying to populate a jQuery array with the values from a column of a table. I tried: var dataTitle = {!! json_encode(array_column($dataTitles->toArray()...
kristinabui8 kristinabui8
2

[AskJS] Good JavaScript book for experienced programmers

Hello everyone, I have been a software developer for a few years now and have programmed in Java, C, C++, Python, a bit of Haskell (not a fan). So I am fairly experi...
Gabotronix Gabotronix
1

Avoid relative path import hell in react-native?

Hi everybody, I'm new to react-native coming from vue background, one thing I hate in react is having to use relative path imports in my components, I find myself doing som...
madhusingh madhusingh
0

How can i load an external javascript with onpointerover event handler?

Hello, How can i load an external javascript with onpointerover event handler? I found an xss issue using the onpointerover handler but i don’t know which code cou...
Create a New Discussion Button