Data dodania Pytanie
2017-02-18 23:02 Text Fields in Chrome Extension? »
Regbutton.js window.onload = timeout(); //document.getElementById('regButton').onClick = textfield(); function textfield () { var x = document.c...
(1) odpowiedzi
2017-02-18 20:02 In JQuery, why does $(this) == $(this) return false? »
I have run the following lines in my console (once a jquery script has been loaded), and received the following results: $(this) > [Window] $(this...
(1) odpowiedzi
2017-02-18 20:02 404 Not Found in AngularJS »
I just started AngularJS. When I try to implemt following example, I am getting 404 Not Found This is my main.html <!DOCTYPE html> <h...
(1) odpowiedzi
2017-02-18 20:02 DocumentDB - Quantify bounded execution in stored procedure »
I have a DocumentDB stored procedure that does insert or update (not replace but rather reads and update existing document). The stored procedure does...
(1) odpowiedzi
2017-02-18 20:02 Uncaught TypeError: Cannot set property 'selector' of undefined »
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­...
(0) odpowiedzi
2017-02-18 18:02 Node.js EJS template: how can I remove the port number from the href? »
I have the below code. I would like to print out the file names in that directory and append an href tag. The below code works but only the port numbe...
(1) odpowiedzi
2017-02-18 17:02 Extend Umbraco media picker to include link option »
In my custom grid editor I have a media picker which selects and image and a content picker which selects a node from the tree. The desired output i...
(1) odpowiedzi
2017-02-18 17:02 Ensuring that javascript functions execute in the specific order »
I have a program that is using ajax post methods and dataTables. After fiddling for weeks, I have determined that I simply do not understand how javas...
(2) odpowiedzi
2017-02-18 14:02 Unable to retrieve Sessions in Node.JS »
Hello Everyone I am implementing an angular app with Node.js running at the backend.I am setting the sessions in angular JS and i have made my own fac...
(1) odpowiedzi
2017-02-18 12:02 New window not getting the value on click [window. opener.] »
I am trying to open a new window on click and send the current index value to the new window. Here is my HTML where I want to change the value on cl...
(2) odpowiedzi
2017-02-18 11:02 Fadeout on slideshow using javascript »
As the title states I want to add a fadeout animation once an image in my slideshow swaps only using html, css and javascript. I'm not quiet sure how ...
(2) odpowiedzi
2017-02-18 10:02 Check if array has a particular index in AngularJs »
In AngularJS expressions, how can I check if an array has value in a particular index or not? Consider the following example $scope.arr =['one','two'...
(2) odpowiedzi
2017-02-18 08:02 What do people mean when they say theres no parent selector in css? »
For example lets say I have an HTML looking like the one below. Am I not selecting the parent element which is ul? ul margin: 50px ul.test li he...
(1) odpowiedzi
2017-02-18 07:02 npm start gives Error: `output.path` needs to be an absolute path or `/` »
When i run my first react app using npm start command some error is displayed. Please some one help me to resolve this issue.­­­­­­­­­­­­
(1) odpowiedzi
2017-02-18 06:02 .ejs file will display some information but not all of it from my API JSON »
So I'm trying to get my .ejs file to display some more information from my API code but it keeps giving me an error code. TypeError: /home/ubuntu/wor...
(0) odpowiedzi
2017-02-18 01:02 How come the nav bar on stackoverflow.com jumps when clicked? »
Nice new nav bar on stackoverflow. Looks like the bootstrap I am using. It has the same problem that my site does, the nav bar jumps slightly when cli...
(1) odpowiedzi
2017-02-17 22:02 OwlCarousel Not Showing Chartkick graphs »
In my Ruby on Rails application I am trying to use OwlCarousel to display a slideshow containing pie charts that have been generated using ChartKick. ...
(0) odpowiedzi
2017-02-17 22:02 Javascript module.export struct of function pointers »
I'm getting the following when I run my node app: Error: Route.post() requires callback functions but got a [object Undefined] I have the following...
(0) odpowiedzi
2017-02-17 20:02 Server-side ajax search, wait till finish entering - Multi tables »
I have de following code: $('.gerais').each(function(){ var daotable = $(this).data('dao'); x = $(this).DataTable({ serverSide: true,...
(1) odpowiedzi
2017-02-17 20:02 Converting click to hover event javascript »
I am trying to animate on hover a burger bar, I found an example online and managed to get it working on mouseenter, but I want it to go back to the b...
(1) odpowiedzi
2017-02-17 19:02 Angular - ui-router wait for a promise before route »
I am using Angular 1.5.8 and angular-ui-router 0.3.2. I need to resolve an authentication method on every route change. I dont want to add the resolv...
(1) odpowiedzi
2017-02-17 19:02 Understanding find in Node/Mongo »
I am trying to learn node. Consider this code (based on official MongoDB Node.js driver) // Retrieve all the documents in the collection collecti...
(1) odpowiedzi
2017-02-17 18:02 How to remove an element and next element after it using jquery? »
I'm trying to remove an element and the element immediately after it. Any idea why this isn't working?: $('ul').find('li').first().remove().next().re...
(7) odpowiedzi
2017-02-17 15:02 Javascript - PHP's Substr() alternative on Javascipt »
I am working with a long string on javasctipt and I have to replace substrings that I cant predetermine their length and value , where I can't use str...
(3) odpowiedzi
2017-02-17 13:02 Angular JS Error setting up dropdown »
I am trying to setup a dropdown field within a form but for some reason I get an error everytime I switch between the options in the dropdown. <s...
(0) odpowiedzi
2017-02-17 08:02 ES6 best way to import React's named imports »
I was wondering which of the two way of importing React named imports ( PropTypes , Component) in ES6 is the best. First import React, {PropTypes, C...
(2) odpowiedzi
2017-02-17 07:02 CSRF token AJAX based post in a Django Project »
So I found out the error and it was in my HTML. I just added {% csrf_token %} and it worked :) thanks for the assist guys! (I used the JS snippet ...
(2) odpowiedzi
2017-02-17 06:02 How to use angular js's $location.hash to change the color of a html element when clicked? »
I have three buttons, labeled About Us, Contact Us and Services. Whenever I click on a button the hash value will be changed and I have used the routi...
(2) odpowiedzi
2017-02-17 02:02 How do I create a component by reference? »
Suppose I have: import MyComponent from "../somewhere" I can create an instance of it by doing: <MyComponent myprops={myprops} /> But can ...
(2) odpowiedzi
2017-02-17 02:02 How to run coffeescript on page change? »
I'm working on a Rails 4 app without turbolinks. I know I can tell my coffee script to run with: $(document).ready -> $('.toggle_stage_item_edi...
(1) odpowiedzi
2017-02-17 01:02 Multiple nested matches in JavaScript Regular Expression »
Trying to write a regular expression to match GS1 barcode patterns ( https://en.wikipedia.org/wiki/GS1-128 ), that contain 2 or more of these patterns...
(3) odpowiedzi
2017-02-16 21:02 Check if each div has an element with a specific class inside it »
I have a tree of div elements with the same class but different id as we can see below: <div class="resultsAnalitics" id="result_0"> <span...
(6) odpowiedzi
2017-02-16 21:02 node server running but localhost refusing to connect »
Trying to get the simplest node server interacting with the browser, with this: var http = require('http'); http.createServer(function(req, res){ ...
(4) odpowiedzi
2017-02-16 21:02 How to get a subtree given a path from a tree object? »
I have a tree object of the form: var data = [{ "root": true, "label": null, "question": "What product category?", "nodes": [{ ...
(1) odpowiedzi
2017-02-16 21:02 Multiple Collapsible Nested Data tables »
I want to construct Collapsible Data tables having multiple nested Collapsible data tables. I have a main Collapsible data table which requires multip...
(0) odpowiedzi