256 Kilobytes

All Content > JavaScript

Type All Category All Tag JavaScript

Profile Photo - Some Guy
Profile Photo - Univa

Last Reply The reason for the above is referred to as CORS (Cross-Origin Resource Sharing) The easy way is to just add the extension in google chrome... Univa,

The reason for the above...

Thu, 16 May 2019 08:18:38 -0700 6 days ago
🗨
1
🐏
0
👁
98
Profile Photo - August R. Garcia

5 Tasks You Didn't Know Could be Done from the Developer Console

Articles in Web Development | By August R. Garcia

Published 1 month agoWed, 17 Apr 2019 12:05:28 -0700 | Last update 2 weeks agoThu, 02 May 2019 09:40:04 -0700

Profile Photo - August R. Garcia

Last Reply Link extraction basic version: var t = document.querySelectorAll("a"); var output = ""; for (var iii = 0; iii < t.length; ++iii) { output +... August R. Garcia,

Link extraction basic ver...

Mon, 06 May 2019 05:59:32 -0700 2 weeks ago
🗨
2
🐏
2
👁
11,111
Profile Photo - Some Guy

[JavaScript] Can JS check if keydown/keyup is a comma, but not the less than symbol ( < )?

Answers in Client-Side | By Some Guy

Published 5 months agoSun, 02 Dec 2018 03:42:50 -0800 | Last update 5 months agoMon, 03 Dec 2018 06:48:22 -0800

Profile Photo - Univa

Last Reply Here's a simple solution that will catch all characters, backspace, and delete.  $("input").keydown(function(event) {     var isW... Univa,

Here's a simple solution...

Sun, 05 May 2019 03:01:05 -0700 2 weeks ago
🗨
1
🐏
0
👁
89
Profile Photo - Some Guy

"Adjacent JSX elements must be wrapped in an enclosing tag"?

Answers in Computer Programming | By Some Guy

Published 5 months agoSun, 16 Dec 2018 09:32:31 -0800

Profile Photo - Univa

Last Reply This is a simple solution as you only need to add an enclosing parent element to all components inside the render function. Check out the code below f... Univa,

This is a simple solution...

Sun, 28 Apr 2019 05:23:59 -0700 3 weeks ago
🗨
1
🐏
0
👁
70
Profile Photo - Some Guy

NodeJS error "Can't set headers after they are sent"?

Answers in Computer Programming | By Some Guy

Published 5 months agoSun, 16 Dec 2018 09:33:01 -0800

Profile Photo - Univa

Last Reply When you do the res.json, you are sending a header, and you can't post a header 2 Times in the same call. You can only do a res.json one time. Meth... Univa,

When you do the res.json,...

Sun, 14 Apr 2019 02:42:58 -0700 1 month ago
🗨
1
🐏
0
👁
191
Profile Photo - Some Guy

JavaScript - How to hide a dialogue on click?

Answers in Client-Side | By Some Guy

Published 5 months agoSun, 02 Dec 2018 03:44:25 -0800 | Last update 5 months agoSun, 02 Dec 2018 13:02:25 -0800

Profile Photo - August R. Garcia

Last Reply This should work: <script> window.onload = function() { dialogues = document.getElementsByTagName("dialogue"); for (var iii = 0; iii... August R. Garcia,

This should work:

Sun, 07 Apr 2019 16:18:07 -0700 1 month ago
🗨
1
🐏
0
👁
87
Profile Photo - pls_stop_this

In JavaScript, what is the QuerySelector method?

Answers in Computer Programming | By pls_stop_this

Published 2 months agoTue, 19 Mar 2019 08:29:43 -0700

Profile Photo - Graln_of_Truth

Last Reply There are multiple articles online giving information about Java Script and its functions. Checkout the provided link for some general information. Al... Graln_of_Truth,

There are multiple articl...

Sat, 30 Mar 2019 15:54:03 -0700 1 month ago
🗨
1
🐏
0
👁
41
Profile Photo - Some Guy

Thinking between Angular 7 vs Angular 2, suggestions?

Forum in Software Development | By Some Guy

Published 3 months agoWed, 06 Feb 2019 14:15:41 -0800

Profile Photo - Zhaybib

Last Reply If you are curious as to which Angulars to use and the difference between them, check out this site here for a more detailed explanation, https://www.... Zhaybib,

If you are curious as to...

Sat, 30 Mar 2019 15:16:22 -0700 1 month ago
🗨
1
🐏
0
👁
103
Profile Photo - Some Guy

Finding the last updated date of a page with JS?

Answers in Client-Side | By Some Guy

Published 3 months agoWed, 06 Feb 2019 13:43:58 -0800

Profile Photo - WTCMolybdenam4753

Last Reply There is a simple solution to finding the last update of a page in JS! Simply enter "javascript:alert(document.lastModified)" -without the quotes, int... WTCMolybdenam4753,

There is a simple solutio...

Sat, 30 Mar 2019 14:45:42 -0700 1 month ago
🗨
1
🐏
0
👁
76
Profile Photo - Some Guy

Re-enabling right click on sites that have it disabled?

Answers in Client-Side | By Some Guy

Published 3 months agoWed, 06 Feb 2019 13:44:08 -0800

Profile Photo - Graln_of_Truth

Last Reply You can try disabling Javacript and then reloading the page; this seems to be the most common issue however there are several other things you can try... Graln_of_Truth,

You can try disabling Jav...

Sat, 30 Mar 2019 13:56:19 -0700 1 month ago
🗨
1
🐏
0
👁
79
Profile Photo - Some Guy

Latest application development trends in 2019?

Answers in Software Development | By Some Guy

Published 3 months agoWed, 06 Feb 2019 14:14:11 -0800

Profile Photo - KacssPL

Last Reply Anything can start 'trending', it really just depends on what people find appealing. The first thing you should know is what type of app you are tryin... KacssPL,

Anything can start 'trend...

Sat, 30 Mar 2019 13:55:23 -0700 1 month ago
🗨
1
🐏
0
👁
89
Profile Photo - Some Guy

What do you think of AMD vs CommonJS?

Forum in Web Development | By Some Guy

Published 3 months agoWed, 06 Feb 2019 14:05:29 -0800

Profile Photo - Zhaybib

Last Reply There are many different reasons why someone would use AMD instead of CommonJS. This website right here offers a more detailed explanation of the matt... Zhaybib,

There are many different...

Sat, 30 Mar 2019 13:53:25 -0700 1 month ago
🗨
1
🐏
0
👁
45
Profile Photo - Some Guy
Profile Photo - -alxl_

Last Reply Having these error messages come up can be frustrating to work with. Without seeing specifics/knowing more of the spreadsheet you deal with it can be... -alxl_,

Having these error messag...

Sat, 30 Mar 2019 13:46:47 -0700 1 month ago
🗨
1
🐏
0
👁
110
Profile Photo - August R. Garcia

How to Add a Word Counter to MTurk Hits (as a Requester/Job Poster)

Articles in Content Writing and Blogging | By August R. Garcia

Published 1 month agoWed, 27 Mar 2019 09:31:07 -0700 | Last update 1 month agoWed, 27 Mar 2019 09:42:14 -0700

Profile Photo - August R. Garcia

Make your tasks easier to complete and g...

MoreWhile the MTurk documentation provides instructions for input validation (such as preventing submissions if a particular word count is not met), there...
🗨
0
🐏
1
👁
89
Profile Photo - PPSH1111

How to disable JavaScript in tor?

Answers in Computer Software | By PPSH1111

Published 2 months agoWed, 20 Mar 2019 00:59:24 -0700

Profile Photo - STubix

Last Reply You can disable JavaScript in the Tor browser with these 3 steps: 1. Launch Tor Browser, and click the Tor Browser button > Options 2. Next, go to the... STubix,

You can disable JavaScrip...

Wed, 20 Mar 2019 16:57:17 -0700 2 months ago
🗨
1
🐏
0
👁
45
Profile Photo - Your Dad

What are some JavaScript interview questions And Answers?

Answers in Local and Offline Businesses | By Your Dad

Published 2 months agoTue, 19 Mar 2019 20:51:17 -0700

Profile Photo - Zhaybib

Last Reply Such JavaScript is such a popular scripting language for many people to use, there are many interview questions on the subject that one can find on th... Zhaybib,

Such JavaScript is such a...

Wed, 20 Mar 2019 08:12:54 -0700 2 months ago
🗨
1
🐏
0
👁
30
Profile Photo - NelsAmmo

Java vs. JavaScript: Differences, pros, and cons?

Forum in Computer Programming | By NelsAmmo

Published 2 months agoTue, 19 Mar 2019 02:49:52 -0700

Profile Photo - masshoIe3

Last Reply Java is an object oriented programming language that can be run on a browser or a Java virtual machine and needs to be compiled. JavaScript is an obje... masshoIe3,

Java is an object oriente...

Wed, 20 Mar 2019 08:06:23 -0700 2 months ago
🗨
1
🐏
0
👁
30
Profile Photo - Some Guy

How to convert double to int in Java?

Answers in Computer Programming | By Some Guy

Published 5 months agoSun, 16 Dec 2018 09:43:37 -0800

Profile Photo - Univa

Last Reply 1. double to int in Java - Typecasting This is one of the easiest ways to convert a double to int in Java.  Syntax: double data = 3452.3... Univa,

1. double to int in Java...

Thu, 14 Mar 2019 12:26:12 -0700 2 months ago
🗨
1
🐏
0
👁
85
Profile Photo - August R. Garcia

How to Make a "Share on Mastodon" Button in Pure/Vanilla JavaScript

Articles in Social Media Marketing | By August R. Garcia

Published 2 months agoThu, 07 Mar 2019 07:38:03 -0800 | Last update 2 months agoThu, 07 Mar 2019 10:01:24 -0800

Profile Photo - August R. Garcia

Last Reply Update -- Here are some additional similar functions for sharing posts on Reddit, Hacker News, Twitter, and Mastodon: // Helper Function functio... August R. Garcia,

Update -- Here are some a...

Thu, 07 Mar 2019 12:39:44 -0800 2 months ago
🗨
2
🐏
0
👁
759
Profile Photo - Some Guy
Profile Photo - Default

Last Reply This error TypeError: document.getelementbyid(...) is null would seem to indicate that there is no such element with an ID passed to getElementById()... jacobhalls,

This error TypeError: doc...

Sun, 24 Feb 2019 21:30:19 -0800 2 months ago
🗨
1
🐏
0
👁
117
Profile Photo - Some Guy

Programming vs web development: What's the difference?

Forum in Computer Programming | By Some Guy

Published 3 months agoWed, 06 Feb 2019 14:13:40 -0800

Profile Photo - roxblade

Last Reply Programming is basically coding to create software, software components, and applications that run on operating systems. Web development is a superset... roxblade,

Programming is basically...

Sat, 23 Feb 2019 10:14:23 -0800 2 months ago
🗨
1
🐏
0
👁
97
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply Okay, you fucking cocksucker, here's why this idea is worse than AIDS: I don't know what mother fucker came up with this retarded idea that having d... August R. Garcia,

Okay, you fucking cocksuc...

Fri, 01 Feb 2019 06:25:24 -0800 3 months ago
🗨
1
🐏
0
👁
83
Profile Photo - Some Guy

[JavaScript] Decode all HTML entities?

Answers in Style and Layout | By Some Guy

Published 4 months agoSun, 13 Jan 2019 04:29:46 -0800

Profile Photo - roxblade

Last Reply There are many ways of doing it, through jQuery as well as JavaScript. One way that I'm fond of that preserves the tags while doesn't have the jQuery... roxblade,

There are many ways of do...

Fri, 01 Feb 2019 03:05:55 -0800 3 months ago
🗨
1
🐏
0
👁
87
Profile Photo - Some Guy

What is the difference between Java and Javascript?

Answers in Client-Side | By Some Guy

Published 4 months agoSun, 13 Jan 2019 04:35:56 -0800

Profile Photo - roxblade

Last Reply Huge difference, really. Just because they both have Java in their name doesn't mean they belong to the same family or even class of programming. Java... roxblade,

Huge difference, really....

Fri, 01 Feb 2019 02:43:10 -0800 3 months ago
🗨
1
🐏
0
👁
89
Profile Photo - Some Guy

How to make an SVG graph (HTML)?

Answers in Web Development | By Some Guy

Published 5 months agoSun, 02 Dec 2018 03:43:14 -0800

Profile Photo - roxblade

Last Reply There are many amazing tutorials for SVG graph generation. I like to believe that the CSS-Tricks page is one of the most helpful resources. Daniel Pat... roxblade,

There are many amazing tu...

Wed, 23 Jan 2019 08:23:35 -0800 3 months ago
🗨
1
🐏
0
👁
80
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI recently just started to get the hang of javascript and I was doing fine up until I got a weird error message that said "Unhandled rejection (S...
🗨
0
🐏
0
👁
53
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI am pretty fluent in JavaScript, however I've run into a problem that I haven't seen before and I don't know how to fix it. I get an e...
🗨
0
🐏
0
👁
97
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI am using JavaScript for my upcoming project. When I got started on it, I kept getting this message, "Uncaught TypeError: illegal invocation.&qu...
🗨
0
🐏
0
👁
118
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI was using javascript, which is what I usually use for most of my programming, but I kept getting an error message last night that was really giving...
🗨
0
🐏
0
👁
70
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI'm programming in JavaScript, and I'm getting an "Uncaught TypeError" for "converting circular structure to json". Can...
🗨
0
🐏
0
👁
76