All Questions
344 questions
0
votes
1
answer
46
views
Why does not Vue model update when input.val(value)?
I have editable table:
<div id="myTable">
<b-table class="overflow-auto" :items="filtered" :fields="visibleFields" :filter="filter">
...
0
votes
2
answers
147
views
DataTable not updating after adding new row in JavaScript application
I'm working on a JavaScript web application that uses DataTables to display a list of instructors. I'm having an issue where the DataTable doesn't update immediately after adding a new instructor to ...
0
votes
0
answers
40
views
When I use the document object to operate the dom in vue , an error will be reported, but using jquery to operate the dom will not [duplicate]
(I know vue is the node environment, not the browser environment,so using document is false),but using jquery to operate the dom will not.
When I use the document object to operate the dom in vue (vue ...
-1
votes
1
answer
732
views
Split a json data into two separate jsons and add them in code
I have a json file coming as:
{
"rID": "1",
"rFI": "01",
"rTN": "0011",
"rAN&...
1
vote
1
answer
74
views
How to update Answer for each click
I'm making a quiz front-end with "Back" and "Next" buttons. I want to update my answer if I change my answer when I go back. Idk how to update a new answer if I press "Back&...
0
votes
1
answer
72
views
Scroll on div is not fired
I have this code :
const listElm = document.querySelector('#infinite-list');
listElm.addEventListener('scroll', e => {
if(listElm.scrollTop + listElm.clientHeight >= listElm.scrollHeight) {...
2
votes
2
answers
106
views
try to filter the records from the array of objects
I have the array of objects and i am trying to show the records based upon some filtration,
I am doing in VUE
Here is my code
return this.system.filter(function (item, key) {
if(key.)
});...
4
votes
3
answers
781
views
Pass data variable as argument in style section of vue2
let's we have a data variable and i want to use this data variable for my style.
data()
{
return{
selected:{
index: 2
}
}
}
<style>
.parent-table >>> ....
0
votes
1
answer
71
views
watch changes of nested data in vuejs
I want to watch changes of families variable which contains nested objects
<component-test
v-for="family of familiesToDisplay"
// rest
/>
data: () => ({
families: []...
0
votes
1
answer
627
views
Bind Icon in dropdown list in Vue Js [duplicate]
I have a dropdown in Vue.Js, I need to Bind Font Awesome icon after each dropdown items.
I am new to Vue.js so please guide how to do that. I am using below code to bind items in dropdown
<select ...
0
votes
2
answers
797
views
Vuejs method ajax call other method on component
how to call another method inside jquery ajax?
methods : {
calert(type,msg="",error=""){
console.log("call me");
},
getData(){
$.ajax({
...
0
votes
1
answer
48
views
Changing SELECT options in Vue component
I'm using a Vue 2 component to implement a jQuery Chosen SELECT field. It's working OK, except that I need to be able to dynamically change the options list and it's not working as expected.
This ...
1
vote
1
answer
92
views
Change Background Color based on the selected Type
I have this <Select> to choose which type they want to input
<select class="form-control" id="exampleFormControlSelect1" v-model="exType">
<option v-for="option in typeOption">...
1
vote
1
answer
1k
views
How to have a flipbook like turn.js in Nuxt?
How to can import turn.js to nuxt.js project. When I use through plugin then error Window not define, even though I used it in client mode
Update: I used required package check is client, but I get ...
1
vote
1
answer
5k
views
How to install jQuery into Nuxt.js?
I'm trying to add jQuery in my project although i get an error that it is not defined
plugins: [
{ src: '~/plugins/js/svgSprite.js', mode: 'client' },
{ src: '~/plugins/vendor/jquery/jquery....