Explore JavaScript on Experts Exchange

Expert Solutions for Your Tech Problems

JavaScript

JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks...

Read more
  • 125K Content
  • 14K Contributors

Expert Spotlight
Software Developer

I love programming, new tech, and teaching. 20 years working on Software development, with many languages/tools to build web & mobile apps.

Troubleshooting Solution

Can someone explain what this script is doing?

byYashy
5
hi guys,

I'm trying to understand how this code works:

var myip;
myip = myIpAddressEx();
var myarray;
Troubleshooting Solution

How do I assign the value of a radio button to a php variable

16
I have two divs where either one is hidden and the other one isn't.
these are generated by PHP and I …
Troubleshooting Solution

JavaScript: remove 6 Numbers in a row (or more), in a string,?

by894359
1
JS only. How would I remove a sequence of 6 numbers or more in a string? If there are only 5 numbers …
Troubleshooting Solution

Can't seem to retrieve cookie using tracking  pixel

14
Hi,
I have set up our own tracking pixel on our main site. If I have a cookie from the site on my …
Troubleshooting Solution

Swap MP4 to an animated gif is the browser doesnt support HTML5

5
Hi All

I have an app that runs on all browsers going back to ie 8. I need to update a Flash animation …
Troubleshooting Solution

JavaScript loop not showing first record from JSON Array

14
I am trying to get this script to show a list of values from a JSON feed. It does not work when …
Troubleshooting Solution

How to retrieve a cookie set on our one site when the user visits one of our other sites?

13
Hi,
Trying to figure out how this could work if at all?
On our main site only, we are dropping a …
Troubleshooting Solution

CSS Animation SVG Creat Fill

6
On this page you will see an animated SVG, it is the third animation, where the pie spins from green …
Troubleshooting Solution

Isn't This A Valid Compound Selector For Example?

by894359
2
I have the following structure:Isn't this a valid descendant selector for this identifying an anchor …
Troubleshooting Solution

WordPress: a Slider and driving traffic to my advertisements

11
I like the idea of displaying a photo intensive story (195 images) with some text under each photo …
Troubleshooting Solution

How to get a particular attribute when using filter function in javascript?

bymikha
3
I have a json response as such,


I do something like this to get the array item inside the list array …
Troubleshooting Solution

how to add new objects/properties to a json object in javascript?

bymikha
5
I have a json object from api response as such. once i have this json object. I would like to add to …
Troubleshooting Solution

CSS Fill Circle Like a clock

4
Is there a way with CSS to fill a circle like a clock hand filling the circle?  Not an actual clock …
Troubleshooting Solution

Is It Possible to Capture Value of Pseudo Select List Box, onClick?

by894359
28
I'm dealing with a web app that has functionality that acts like a select list box but really isn't. …
Troubleshooting Solution

select2 search function not working correctly

17
I am using the select2 search function ( https://select2.org/ ) on the below links. However I am …
Troubleshooting Solution

condition statement within react return causes syntax error

5
Hello,

I am having syntax issues within a return. I am trying to check if an array item exists..  the …
Troubleshooting Solution

Simple - What Unity project type should I select when creating this Unity game start example

2
Hi
I'd like expert confirmation of the type of project I must select in Unity for my simple 2D …
Troubleshooting Solution

How to implement a "sticky" footer in different types of wordpress pages

16
Hi!

I am working on a wordpress website and want to implement a footer that is pushed to the lower …
Troubleshooting Solution

Exclude JS From Running on 2 Body Classes

6
Hi Experts,

I'm working on www.iwscc.ca and I would like a block of code to run on all pages, except  …
Troubleshooting Solution

JavaScript: Detect When Link Is Clicked using Listener.

by894359
10
I have a series of elements structured like so:
What I want to do is when clicked, capture the text …

Do more with Experts Exchange.


Get Answers

Take a Class

Collaborate

Monitor your Site

Explore solutions and more