Data dodania Pytanie
2017-02-16 18:02 Is there a non-minified dev environment for Instagram's embed.js? »
When using Instagram's embeds.js which is minimally documented on their website, I get the error: Minified exception occurred; use the non-minifie...
(0) odpowiedzi
2017-02-16 16:02 Distribute CSS with a React component »
I have a React component index.js which has styling in style.css. I want to distribute this component on npm, but I am confused about how I can make ...
(3) odpowiedzi
2017-02-16 15:02 Exclude child elements from functions with jquery »
With the code below: <p>Red red red red <a href="http://www.google.com"> this should be red alone</a> red red</p> How would...
(3) odpowiedzi
2017-02-16 15:02 gulp converting React module to class error »
after converting a simple react module to es6 class; i got some gulp parsing errors. var React = require('react'); // import React from 'reac...
(3) odpowiedzi
2017-02-16 15:02 Datatables show info on records Dynamically »
I'm using Datatables to show a table with 10K records. I'm showing 2K records at a time. When the table is loaded I have records from 0 - 2000, then i...
(0) odpowiedzi
2017-02-16 12:02 How to achieve two different behaviors with the same button »
I created a click event, which changes the identifier of a button. I created a second click event on the same button but this time with the new id. Wh...
(2) odpowiedzi
2017-02-16 11:02 CSRF Basics with SSL & CSRF Relatioship »
I am trying to implement CSRF and SSL(they are not entirely dependent) and listing below my understanding on the topic for having a proof of understan...
(0) odpowiedzi
2017-02-16 10:02 django 'LineChart' object has no attribute 'get' »
I am trying to make a line chart in django, I am using the jchart module, When I try and load the chart I get the below error. error 'LineChart' ...
(1) odpowiedzi
2017-02-16 07:02 jquery datatable: get entire column value by button click »
I bind my json data using jquery datatable and add button on row. Now how can I get a specific column data on list by button click? I can get a row v...
(2) odpowiedzi
2017-02-16 05:02 How to check null value within TempData Razor MVC that written inside js code »
I'm Trying to check null value within TempData Razor MVC that written inside javascript code, but unfortunately it doesn't work. whether TempData val...
(1) odpowiedzi
2017-02-16 02:02 Why does apply with too many arguments throw "Maximum call stack size exceeded"? »
In Chrome and Node, the following code throws an error: function noop() {} var a = new Array(1e6) // Array[1000000] noop.apply(null, a) // Uncaught R...
(1) odpowiedzi
2017-02-16 02:02 Why does parseInt fail to test Arrays properly in Javascript? »
Given: var obj={0:21,1:22} and var arr=[21,22] Why does parseInt(obj) return NaN, but parseInt(arr) returns 21? I had a function where I was ei...
(1) odpowiedzi
2017-02-15 22:02 modify column based on the row ID with JQuery »
I have table, I'm using datatables, inside I have rows like this one: <tr id="tr.12" data-id="12" role="row" class="odd"> <td class="sor...
(1) odpowiedzi
2017-02-15 21:02 Testing React Async with Jest and create-react-app »
I can't seem to figure this one out. I'm using create-react-app and it's built in test runner Jest. For all synchronous code it seems to work really w...
(2) odpowiedzi
2017-02-15 20:02 Swap two array elements in a functional way »
I'm trying to swap 2 elements within an array in a functional way in javascript (es6) let arr = [1,2,3,4,5,6] let result = swap(arr, 1, 2) // input: ...
(6) odpowiedzi
2017-02-15 20:02 How to set Entity Framework data to JavaScript variables? »
I have a website that uses ASP.NET MVC, and I store my data using Entity Framework. Here is what one of my Razor View Pages looks like: @model IEn...
(1) odpowiedzi
2017-02-15 20:02 Where to store reducers affecting global state »
This is my store shape: export default { isRequesting: false, requestError: null, things: [], otherThings: [] } When things and oth...
(2) odpowiedzi
2017-02-15 15:02 Javascript wont replace my div text »
I have made a Javascript that will replace the text in the Div with the text that I put in my input <!DOCTYPE html> <html> <body>...
(4) odpowiedzi
2017-02-15 11:02 Do you need to unbind $scope.$on in $scope $destroy event? »
I have directive that bind event using $on do I need to remove that binding when scope is destroyed, or is it done automatically? Also do I need to ca...
(4) odpowiedzi
2017-02-15 10:02 Unexpected hidden div appears in html file »
I have been trying to search this, but haven't even found anyone with the same problem. For my assignment, I had to write a javascript code that woul...
(2) odpowiedzi
2017-02-15 08:02 Loading hidden div as Popup using <a> tag »
I have a div as custom popup <div class="deletePopup"> <header class="popupHeader">Confirm Delete!!! <a href="#" class="cance...
(5) odpowiedzi
2017-02-15 06:02 Write a js expression inside laravel blade template »
I am using tagsinput for some tagging operation. I want to add some default value to the tag field that is sent from controller. But it seems that the...
(1) odpowiedzi
2017-02-15 06:02 Angular 2 how can i add click event inside option? »
This is my html,When i click option "new-item" it will open input type box , and then i enter value it want to add to select option <form (submit)...
(1) odpowiedzi
2017-02-14 21:02 Clicking with javascript by class, takes wrong class as well »
I am using the following javascript snippet in Chrome's console, for debugging purposes. var links = document.querySelectorAll('a[class="_5glz _53o _...
(2) odpowiedzi
2017-02-14 20:02 Updating info with Mongoose, array inside object inside object dynamically »
I'm trying to update the JSON field "champ_x" from 1 to 3 and for both players 1 at a time in a dynamic function: { "_id": { "$oid": "58a...
(1) odpowiedzi
2017-02-14 19:02 Recognize @ as a part of the string in Javascript »
I am writing a snippet to quickly populate register fields for testing purposes $("#TestRegister").click(function () { var rand = Math.floor(Math...
(1) odpowiedzi
2017-02-14 17:02 Avoiding inline functions in React: How to bind functions with arguments? »
I'm trying to follow the no-bind rule for React using the pattern that they have recommended with ES6 classes: class Foo extends React.Component { ...
(4) odpowiedzi
2017-02-14 13:02 How to do class free inheritance in JavaScript (Crockford style) »
Background I am trying to improve my JS skills, and with that I am watching some of the big entities in the JS world. Such an entity is Douglas Crock...
(2) odpowiedzi
2017-02-14 12:02 How to add external javascript in WordPress »
I want to insert external JavaScript placed in the folder in WordPress. if I include using script tag it shows "<" expected error below is my code...
(2) odpowiedzi
2017-02-14 12:02 JQuery DataTable: Set colspan of column title dynamically »
Unlike in the example provided by documentation, I want to make column title span dynamically. I have generated sample data var data = []; for (var...
(1) odpowiedzi
2017-02-14 12:02 DataTables with json data making TR row clickable »
I am using: jquery.dataTables.js from: https://datatables.net I am trying to make each tr have a link, but some reason this is not working, I tried r...
(2) odpowiedzi
2017-02-14 12:02 How to make pagination "Next" button not look disabled in Datatables »
I'm using Datatables pagination to show my records. My problem is that when I go to the end of my table using the "next" button of the table, this but...
(4) odpowiedzi
2017-02-14 10:02 How to use javascript reduce function for objects in an array to get string values »
I have an array of objects from which I would like to get names. I am trying to use reduce for that but the problem is that reduce returns the first ...
(5) odpowiedzi
2017-02-14 10:02 Yii2 + AngularJS PrettyURL enable to work »
I'm using Yii2 with AngularJS. I have to call different pages like about us, contact us etc. But my Pretty URL not working Properly. I need PrettyUrl ...
(1) odpowiedzi
2017-02-14 08:02 Why ng-click not working when i got in $scope.variabel? »
I have problem, my ngclick not working because i got in $scope.variabel controller. <a id="data_table" ng-click="{{ item.target }}" I think targ...
(3) odpowiedzi