Data dodania Pytanie
2017-03-21 15:03 Post-call/runtime performance implications of Object.defineProperty »
If, during the loading stages of a script, many properties are defined using Object.defineProperty, Object.defineProperties or Object.create. And most...
(1) odpowiedzi
2017-03-21 13:03 Bringing a div to :active state via jquery .trigger() method »
I have assigned to a div an :active CSS pseudo class, to make it "responsive" on clicks and holds. .quarter:active{ opacity: 0.5; } Wha...
(3) odpowiedzi
2017-03-21 13:03 AngularJS: single page app with query string and form? »
It's common sense that AngularJS is aimed at SPA (single page application) development. Nonetheless, it is also possible to create a MPA (multi page a...
(1) odpowiedzi
2017-03-21 13:03 How to swap between 3 or more classes in Angular targeting only the element clicked? »
I would like an element to swap between 3 css classes when clicking it. I have seen other solutions that work when only 2 classes are toggled like thi...
(3) odpowiedzi
2017-03-21 13:03 datatables Datasource with clientside and serverside »
i want to make a datatable client & serverside. the first side from datatable with 50 entries i will load client-side like: data: {data: <?ph...
(0) odpowiedzi
2017-03-21 12:03 Android webview crash "Fatal signal 5 (SIGTRAP)" »
I have an app with a webview in which I load HTML content with javascript enabled. The webview is inside a fragment. This is how I initialize the web...
(1) odpowiedzi
2017-03-21 12:03 Facebook SDK get permissions »
I'm trying to get a Facebook login to work on my website. I'm running the following code: window.fbAsyncInit = function() { FB.init({ ...
(1) odpowiedzi
2017-03-21 10:03 Sails translation timestamp »
I'm currently working on Sails.js. After a request on my database from my controller, I receive a timestamp. I want to display this timestamp in my h...
(1) odpowiedzi
2017-03-21 08:03 Progress circle with spaces between colors »
I am trying to achieve this effect (spaces between the color blue and grey), like in the image attached. Those would be like some margins of other col...
(2) odpowiedzi
2017-03-21 07:03 How can I take variable from ejs to app.js in Node.js? »
I'm pretty newbie in node.js and trying to pass JSON data from ejs to app.js but I don't know how to pass through from ejs to app.js. What I did was ...
(1) odpowiedzi
2017-03-21 06:03 Apply changes only to the clicked item among several items with same method name »
I have several divs that show various details. i have intended to take the details from the backend and bind them to my html part. To the time being i...
(2) odpowiedzi
2017-03-21 04:03 Cannot read property after assigning ejs variable to js »
For whatever reason, this code returns a type error in the if statement. Cannot read property product.thumbgallery1 of undefined. var urlArray= []; ...
(1) odpowiedzi
2017-03-21 04:03 Get Datatables cell value that is input text field »
I'm generating a DataTable with a javascript data source. The data is returned from an ajax call to nodejs which queries SQL Server DB table and retur...
(1) odpowiedzi
2017-03-20 22:03 React Native Fetch Request Fails Without CSRF Token »
I've been developing a mobile complement to my web application built with Rails. Using Fetch API, I keep getting the notice "Can't verify CSRF token a...
(1) odpowiedzi
2017-03-20 21:03 How to get value attribute for corresponding button? »
buttonPress = (event) => { console.log(event.props.value)} <RaisedButton ref={(button) => { this.RaisedButton = button; }} label="Primary"...
(1) odpowiedzi
2017-03-20 20:03 How can I view the DOM while I am stepping through JavaScript breakpoints in Chrome? »
In Chrome DevTools, while debugging JavaScript in the Sources tab(adding the "debugger;" line in JS code and then stepping through the code using F10/...
(3) odpowiedzi
2017-03-20 20:03 Chrome Dev Tools Cannot Expand Iframe contents »
As seen in the picture above, this iframe contains an html file but now its contents cannot be expanded. Before Chrome 56 I have been able to expand...
(1) odpowiedzi
2017-03-20 14:03 DataTables ajax.reload() loses page »
I am using jQuery DataTables. After ajax request, I call the ajax.reload() method to refresh my dataTable but I lose the current page. It returns the ...
(1) odpowiedzi
2017-03-20 11:03 jQuery Datatable - Error message from ajax call »
"ajax": { "url": url, "type": "GET", "datatype": "json", "data": { id: id} //, ...
(1) odpowiedzi
2017-03-20 11:03 How to get rotated svg text bounds in javascript programmatically »
I am rendering SVG image dynamically and created rotated text. If the rotated text is overlap with other text, i need to remove that text. But i can't...
(1) odpowiedzi
2017-03-20 11:03 Filtering and sorting React »
I am new in development React I have a project where I have to add the filter and sort functionality on my table and I really do not know where to sta...
(2) odpowiedzi
2017-03-20 10:03 Jquery pasting a cloned tr after current div »
I'm building a system to automatic create strings. I have some problems with copying and pasting some cloned data. When I press my 'Add Product' butto...
(2) odpowiedzi
2017-03-20 02:03 How to append a div based on the content of a JSON Array information »
I am working on an EJS view and I am trying to go through the "TYPE" array in a JSON file and if it contains "SOCCER", I want to append "This is a FOO...
(1) odpowiedzi
2017-03-20 02:03 Google Chrome - Watch when javascript object property changes »
I have a JavaScript variable called var someProperty; on line, let's say 10000 (its a huge js file), I have a function function updateTime() { ...
(2) odpowiedzi
2017-03-20 01:03 How i can use FileSaver.js module without Node.Js? »
i have visited a github code to increase effort for saving a file from javascript/html. We have some problem with to use it, because it mae for node.j...
(1) odpowiedzi
2017-03-20 00:03 Django Success Message in view using django.contrib.messages »
I am working on a system which allows a user to place a booking for an event for a Player object registered to their account. Previously I had the sys...
(1) odpowiedzi
2017-03-19 22:03 react router v^4.0.0 Uncaught TypeError: Cannot read property 'location' of undefined »
I've been having some trouble with react router (i'm using version^4.0.0). this is my index.js import React from 'react'; import ReactDOM from 'reac...
(1) odpowiedzi
2017-03-19 21:03 Using Macbook touchpad (or others) for multi touch gestures in desktop browser »
I've looked around a bit but couldn't find a conclusive answer. Is it possible to detect multi touch gestures and events from a Macbook touchpad or ot...
(1) odpowiedzi
2017-03-19 20:03 How to stop a class from being clickable in a function »
Basically I have multiple images which when click imcrease in size. Also when clicked the page is dimmed and a close button is added. Currently an mul...
(2) odpowiedzi
2017-03-19 19:03 Iteration inside an object in react.js »
i'm new to react and javascript and i have some difficulties coping with a task. Let's get started. I have and array like this: clients = ["Alex", "Ji...
(1) odpowiedzi
2017-03-19 18:03 get json data from datatables row column wise »
I have Datatable like bellow <table id="example" class="display" width="100%" cellspacing="0"> <thead> <tr> ...
(2) odpowiedzi
2017-03-19 17:03 How to return objects with a specified length of letters from array? »
The question is to return names with 4 characters from a string of names. This is my code so far: var friends = "Ryan, Kat, Luke, Harry"; var ...
(7) odpowiedzi
2017-03-19 17:03 How to fix a NaN from a forloop in JS (ES6)? »
Hi I am building my own Mathematics in javascript. I declare the default accuracy to 8. When I pass through it to the function changes the outcome in ...
(1) odpowiedzi
2017-03-19 15:03 Why extend a function with an empty object? »
I was looking at the Rebound javascript code and saw that the SpringSystem function is being extended with an empty object. var SpringSystem = rebou...
(1) odpowiedzi
2017-03-19 15:03 How to call script.jsx to make react.js work »
I am trying to learn react.js. I am trying to setup a little test environment but do not understand why my script.jsx is not working? Is there anythin...
(1) odpowiedzi