17h
answered JavaScript blockscope with let
17h
comment Can not access a variable inside another function (Javascript)
Your alert is inside a function which is never, as far as your code shows, called.
2d
comment Jquery input value as selector to append content. Then use input value as appended content
Sample HTML would help explain things better.
2d
comment Get index of td elements in table using Javascript or jQuery
You can recreate a cut-down version of the table.
Apr
12
answered Multipart request in node.js
Apr
12
comment Grouping objects by multiple columns with Lodash or Underscore
Can you redo the "JSON" portion of your question?
Apr
11
answered Capturing image using getUserMedia and drawing it to canvas
Apr
10
answered Extracting a Link from within a JSoup <a> Tag with Attributes
Apr
10
comment Extracting a Link from within a JSoup <a> Tag with Attributes
Is the early closed a tag a typo? <a> id="myUniqueID" class="myClassName"...
Apr
10
comment Backbone View not refreshing even when Collection gets Refreshed
How are you instantiating the view and collection?
Apr
10
comment How can I request a webpage that is a .txt file?
Look into developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest if you want a JS solution or jQuery's .ajax(), .get() methods if you'd like a level of abstraction.
Apr
10
comment Javascript getElementById doesn't select element
Which means you'll need to show more of what's happening on the page. An error in another script you're not showing us might be at fault.
Apr
10
comment Multiple Javascript If / Else Statements not working, only last one is executing
How do you know the if/else are failing? Throw in some console logs for the element values and see exactly what they are.
Apr
10
comment Make the URL for a Backbone Collection Dynamic
It's hard to know without seeing more. Create another question. Add my name to a comment and I'll take a look.
Apr
10
comment Javascript getElementById doesn't select element
The click would need to be on the Send link.
Apr
10
comment jQuery Ajax header not being passed
Could it be CORS related? What server are you hitting?
Apr
10
comment createElement("a") - FireFox JavaScript
Could you reduce your code down to something resembling the above? It'll make it easier to debug.
Apr
10
comment jQuery Ajax header not being passed
Is it redirecting?
Apr
10
comment Check for duplicate then increment the duplicate value by 1
I can't see how the code relates to what you're saying, but if you don't want to do anything on 0, try: if (value == 0). If by increment you mean the loop, try: for (var i = 1; i <= input.length; i++) .
Apr
10
comment jQuery Ajax header not being passed
I wouldn't trust Fiddler. What if you run it in a page and view the request in dev tools?
1 2 3 4 5