Data dodania Pytanie
2017-06-16 23:06 cannot convert input text to int in JavaScript »
I am trying to sort a table in HTML by clicking the table header. The sorting is fine for strings, but when comparing numbers, it evaluates "10" < ...
(4) odpowiedzi
2017-06-16 21:06 Tabs to replace content on page with another HTML's file »
I've been building a website using four separate links to replace the content of the home page with the other html's files information. The script wor...
(1) odpowiedzi
2017-06-16 20:06 When use of "reduce" is appropriate? »
Sometimes people use reduce to make code shorter, but for me, it looks a little bit complicated and confusing. Following code looks pretty clear for ...
(0) odpowiedzi
2017-06-16 19:06 Getting Can't set header after they are sent error when i render data with ejs »
I am getting "Can't set header..." Error when i try to include my header file and render data from express. This is my code router.use('/dreams',...
(0) odpowiedzi
2017-06-16 18:06 TypeScript: Can I import a folder without having to write an index.ts file? »
If most directories of a project contain no more than 2-3 TypeScript files and all of their exports should be accessible when importing the containing...
(2) odpowiedzi
2017-06-16 17:06 Egghead.io Redux tutorial - Lesson 17: "TypeError: Cannot read property 'map' of undefined »
I am following the egghead.io tutorial on Redux. I am on Lesson 17 and getting an error that Dan Abramov isn't. The code is below. The error I am ge...
(1) odpowiedzi
2017-06-16 17:06 Facebook Graph API: GET /feed without privacy "SELF" »
how do I have to structure API request (prefferably in the JavaScript API version of Graph) to GET everything in the /feed which does not have privacy...
(1) odpowiedzi
2017-06-16 16:06 Is the ordering of props in JSX important? »
If the o object contains a key/value pair of: foo: 'bar' can I depend on these outcomes?: // foo will be 'bar' <MyComponent foo='should not ov...
(3) odpowiedzi
2017-06-16 15:06 Enter key to send works only once in java script »
I have a code that submits the form, whenever we press enter key on text area... it works, but code runs only 1 time. whenever I press enter again to ...
(1) odpowiedzi
2017-06-16 15:06 Can one JavaScript function handle different types of HTML input types? »
I have a question in regards to input, select elements. If I have a radio, text, select elements on the page do I need to provide a single JavaScript...
(1) odpowiedzi
2017-06-16 14:06 Jquery Function always return count 0 of second parameter »
i am writing a function in jquery which post the data to controller. currently it is posting form data to controller fine but when i post checkbox lis...
(2) odpowiedzi
2017-06-16 14:06 $modal is not working as expected »
var app = angular.module('myApp', ['ui.bootstrap']); app.controller('myCtrl', function($scope,$modal){ $scope.firstName = "John"; $scop...
(2) odpowiedzi
2017-06-16 14:06 Push event of service worker is not being called in multiple tabs »
I am using Web Push protocol to send push notifications. I have registered a service worker and subscribed successfully with pushManager in one tab. W...
(2) odpowiedzi
2017-06-16 13:06 When to NOT use "strict mode" in javascript? »
I've found this post What does "use strict" do in JavaScript, and what is the reasoning behind it? And what I'm understanding here is that ...
(4) odpowiedzi
2017-06-16 11:06 Why cant' I trigger custom events in vue.js? »
I have a local database that will be updated with pusher. This database is stored in JSON and the component will load and filter out what is not neede...
(1) odpowiedzi
2017-06-16 08:06 Is there any performance issues in adding dynamic css with jQuery »
I am creating a listing page. In which some 20 records will be loaded on the page load and the remaining will be added dynamically on scrolling down. ...
(1) odpowiedzi
2017-06-16 07:06 Generate Number Then Play Music »
So for my website, I want to make it so if you load the page, a javascript block will generate a random number 1-5 and depending on the number generat...
(3) odpowiedzi
2017-06-16 06:06 Fixing responsiveness of a breadcrumb »
.breadcrumb input[type="radio"] { display: none; } .breadcrumb input[type="checkbox"] { display: none; } .question-header input[type...
(2) odpowiedzi
2017-06-16 04:06 How can I add alert box that says "game over" when the ball touches the top border? »
I am creating a 2 player tennis sort of game right now in JavaScript and I got the ball to make an alert box popup saying "gameover" when it hits the ...
(2) odpowiedzi
2017-06-16 03:06 Google App Script: How to ignore empty cell values for getRange().getValues() »
I am able to get the range values using getValues() and put it into a string by declaring the following variables in Google App Script var ss = Sprea...
(2) odpowiedzi
2017-06-15 16:06 onPress error "is not a function" and "is undefined" »
Taking my first baby steps towards learning Rect Native, and have been stuck with these errors for a while. When i click item: I get these errors: ...
(2) odpowiedzi
2017-06-15 16:06 Sign Up using Facebook - Angular 4 Typescript »
Let me first start by saying I've searched for an answer to this question for quite some time... This is the first time I am working wit Social Netwo...
(2) odpowiedzi
2017-06-15 16:06 Detect when Google Tag Manager has finished loading tags »
I'm using Google Tag Manager and also javascript loaded by Webpack. (In the head tag of my page, I first have the GTM loading script, and then I have...
(1) odpowiedzi
2017-06-15 16:06 Popup onselect event »
I am currently working with the Laravel Framework and I am working on a webpage that will allow a user to enter a start and end date in order to searc...
(0) odpowiedzi
2017-06-15 16:06 Correct way to escape SVG in `data:` URIs? »
Chrome has recently started blocking URLs with new line and < characters. I maintain an application which heavily relies on SVG images within a da...
(1) odpowiedzi
2017-06-15 16:06 Does a validator/linter for Google's HTML/CSS/JS style guides exist? »
I've been looking around for ages, but I can't seem to find any validators for these. I'm looking for similar to PHP_CodeSniffer. I'm talking about t...
(0) odpowiedzi
2017-06-15 16:06 How to actualize sequence for DataTables's rowReorder extension? »
I'm using rowReorder extension for DataTables. I got a button to remove some rows with https://datatables.net/reference/api/row().remove(), but after...
(0) odpowiedzi
2017-06-15 15:06 How can the lack of return type polymorphism in untyped languages be alleviated? »
I've been working with Church encoding recently and when I look at a typical type newtype ChurchMaybe a = ChurchMaybe { runChurchMaybe :: forall r ...
(2) odpowiedzi
2017-06-15 15:06 Backbone view takes some time to load when new data is added to the collection »
I am new to backbone and working on a CMS built in backbone. The CMS allows the creators to add new homepages for the website. The size of the respons...
(1) odpowiedzi
2017-06-15 13:06 Why .nextElementSibling doesn't return null? »
In the below code, the <div> doesn't have any siblings. previousElementSibling correctly returns null, but nextElementSibling does not. <!D...
(1) odpowiedzi
2017-06-15 11:06 How to move a div in semi circle »
here is my .html file <div class="progress"> <div class="barOverflow"> <div class="bar"></div> </div> <d...
(4) odpowiedzi
2017-06-15 11:06 Legend showing undefined in angular chart »
I'm using angular-chart.js to draw charts in my application. But i am facing a problem. Chart legend is showing undefined instead of labels. My js co...
(1) odpowiedzi
2017-06-15 09:06 change div1 on hover over div2 which is under div1 »
Is it possible to change div1 if div2 is hovered but under div1? /* Works */ .div1:hover + .div2 { background-color: red; } /* Doesn't Wo...
(6) odpowiedzi
2017-06-15 08:06 Why does it not shows JSON data in console log using jquery? »
When I code this in some file (say: test.html): <html> <head> <title>Test</title> </head> <body> <script ...
(2) odpowiedzi
2017-06-15 01:06 Fade out after animating SVG fill color »
I'm trying to do an animation of a simple svg checkbox. <svg class="checkbox" xmlns="http://www.w3.org/2000/svg" version="1.1"> <circle ...
(2) odpowiedzi