Data dodania Pytanie
2017-01-08 12:01 DataTables warning: table id=example - Requested unknown parameter '1' for row 1, column 1 »
Getting error "DataTables warning: table id=example - Requested unknown parameter '1' for row 1, column 1. For more information about this error, plea...
(1) odpowiedzi
2017-01-08 11:01 Am I able to pull own javascript into advert? (i.e. Google, Bing, Amazon Ads) »
I'd like to create an advert, that is dynamically pulled from my server (simple game, poll, etc.) through some third-party ad engine (like Google Ads)...
(0) odpowiedzi
2017-01-08 06:01 Asynchronous function not producing immediate result inside while loop »
I am new to nodejs and what I have done is I have connected LCD Panel and 4x4 Membrane matrix keypad to Raspberry Pi and I have programmed them using ...
(1) odpowiedzi
2017-01-08 03:01 What is the "..." syntax used in both React and GrahpQL? Is it more general Javascript? »
Trying to understand the connection between the "..." notation in React and GraphQL. Are they 1) Using the same general Javascript syntax? If so, wha...
(1) odpowiedzi
2017-01-07 23:01 setTimeout stops working »
I have a page where I want to keep a value from a file uppdated all the time. Basicly I have a script saving some data for me to show on the web in ...
(3) odpowiedzi
2017-01-07 23:01 Get the number of times each string occurs in an Array »
function countWords(inputWords) { var sortArray = inputWords.sort(function (idx1, idx2) { return idx1.localeCompare(idx2) }); var resultArray = []; va...
(1) odpowiedzi
2017-01-07 22:01 Retrieve angular ng-repeat scope outside ng-repeat »
I have a ng-repeat select element, which is formed from the MySQL table, problem is - can't output scope parameter outside of the ng-repeat of the sel...
(2) odpowiedzi
2017-01-07 19:01 How to get the source from a video element inside a div and pass it on to another video element - javascript »
Im really new to JavaScript and I started a new project that consists in a video player and editor. I have this modal Box: <div class="modal" id=...
(2) odpowiedzi
2017-01-07 17:01 Axios API call returning Promise object instead of result? »
Before I start, let me say that I'm new to Javascript and very new to axios API calls, so I'm probably making a rookie mistake... I have this functio...
(2) odpowiedzi
2017-01-07 15:01 Making a typing timer in RxJS; Tracking time spent typing »
This question is an extension of my previous question that you can find here: How to use RxJS to display a "user is typing" indicator? Af...
(2) odpowiedzi
2017-01-07 15:01 Angular databinding on datable row selection »
I am using Datatables to show data. When I click on a row, I want to work on the data and then do databinding to show these data. Here is the code I h...
(1) odpowiedzi
2017-01-07 14:01 What's the meaning of annotations (internal property) in google dev tools watch window? »
Would someone please explain what's the meaning of those annotations after the : in google dev console? For example, when I enter baz in console, i...
(1) odpowiedzi
2017-01-07 13:01 Promise does not resolve node.js »
I am trying to resolve some promises by the sendRequest function but it does not work. For example, if I evoke sendRequest function 4 times, all of t...
(1) odpowiedzi
2017-01-07 11:01 How to get json objects embedded in html page result of js running by phantomJS and pass them to java code? »
I use js script code that described in this answer, but i don't want to save html result page in html file. I want to extract Json object from <div...
(0) odpowiedzi
2017-01-07 11:01 populate dependent select box through ajax call in wordpress »
I want to poulate cities on behalf of selected state in select box. I am able to get the id of the selected state but unable to pass that state id to ...
(0) odpowiedzi
2017-01-07 10:01 how to make the show function in an if else override the hide function permanently? »
in this code I want the show function (correct or incorrect answer) to last but it always reverts to hide $("#correctOne").hide(); $("#incorrect...
(2) odpowiedzi
2017-01-07 09:01 Sort an array of integers into odd, then even »
I have a problem I found on an algorithm forum elsewhere. I have an array with random numbers (for example, [5, 2, 7, 9, 2, 3, 8, 4]) which should be...
(10) odpowiedzi
2017-01-07 09:01 Why is my Javascript restarting every time I press enter in the Input area? codepen attached »
I'm working on an exercise on codepen.io and I don't know why, every time that I press the enter key in the input area, the program restarts itself, a...
(2) odpowiedzi
2017-01-07 02:01 Split by commas but not within brackets using regexp »
I want to split a string by commas, but not when they're inside brackets. For instance: "[1, '15', [false]], [[], 'sup']" would split into [ "...
(3) odpowiedzi
2017-01-06 22:01 Safari 10.0.1 $window.open in .then of a $http.get returns undefined »
We have a problem when downloading a pdf document on a safari on MacOS Sierra. We get a dataUrl from a server and then use a $window.open with a creat...
(1) odpowiedzi
2017-01-06 22:01 How to format date displayed in Datatable »
I have a function that displays objects in my array using datatables. I'm a bit a problem with changing the date and time format from ISODate to human...
(1) odpowiedzi
2017-01-06 21:01 Angular + jQuery, trigger scroll when src of image changes »
I am trying to use jQuery to scroll to a particular thumbnail (inside a modal) when right/left arrows have been pressed (modal should pop up when user...
(2) odpowiedzi
2017-01-06 20:01 How to cache or store in project folder JSON object returned from $http call response? AngularJS »
I write Google Chrome extension and now I need to cache or store in project folder JSON object returned from $http call response. I'm using clear Angu...
(1) odpowiedzi
2017-01-06 19:01 Table header isn't fixed to table using DataTables »
I'm using DataTables to format tables displayed inside a series of navigation panels, which also are inside of a carousel generated from JS. To be cle...
(0) odpowiedzi
2017-01-06 19:01 Make a Line between two elements using CSS and JavaScript »
I am attempting to have a line go between the two dots on my page. The images are draggable and placeable into the DIVs so their position can change y...
(3) odpowiedzi
2017-01-06 15:01 closest() method not working as expected »
I've a sample example below, I'm not sure why the first example (using div's) didn't get the text when the second one (using span's) could achieve tha...
(1) odpowiedzi
2017-01-06 14:01 Polyfill for ie »
I'm trying to add a polyfill to my vue.js 2.0/Laravel5.3 application because in internet explorer 11 I receive an error: vuex requires a Promise poly...
(1) odpowiedzi
2017-01-06 14:01 Normalize missing value inside an array of objects with nodejs »
I have this data scenario: var data = [ { 'name': 'social-button', 'group': null }, { 'name': 'social-button', 'group': null }, { 'name'...
(3) odpowiedzi
2017-01-06 12:01 How to remember form data that has not been submitted? »
How can you make the browser remember what the user typed in the form, which has not yet been submitted and make the page refreshing not affect the da...
(2) odpowiedzi
2017-01-06 11:01 how to push an element at index 0 of an array »
i have a situation like this, i have 2 array1 as array1 = ["fruit","vegetables"]; and array2 = [["apple","banana"],["tomato"]]; // index 0:repre...
(2) odpowiedzi
2017-01-06 11:01 Moving data table to table in AngularJS »
How can I move table row data from one table to another table using as per the buttons. After moving the data finally if I click submit button I want...
(2) odpowiedzi
2017-01-06 10:01 How to avoid if-statements in typescript-reactjs? »
I have different types of action checks which does different functionalities, simply i made if and else condition to check the action type and do the ...
(2) odpowiedzi
2017-01-06 08:01 Best Practices for NavBar Branding in React-Bootstrap / React-Router-Bootstrap »
There is an issue regarding anchor tags in React Bootstrap and React Router. I was curious on how other people have handled the situation. It is possi...
(1) odpowiedzi
2017-01-06 07:01 "Unsubscribe" function callback/hook in Observable "executor" function »
I am confused about what the purpose of the "dispose" or "unsubscribe" function is for, which is (optionally) returned from an observable "executor" f...
(1) odpowiedzi
2017-01-06 05:01 When does a component unmount? »
My current understanding is that a component mounts onto the DOM when it is needed to be seen or when the route requires that component. It will also ...
(3) odpowiedzi