Skip to main content

All Questions

1 vote
2 answers
81 views

Changing every link on page, in fastest way possible

I have created a script (mediawiki gadget), which iterates over every redlink in a rendered wiki-page (that is, over every href with class new, signifying an ...
philo math's user avatar
0 votes
1 answer
146 views

Generate HTML from input fields

I am building a small tool to generate a copy and paste HTML block, based on the user inputs. In the HTML file, I have all my inputs (select, checkbox, text inputs etc). I based myself on the JS of an ...
blogob's user avatar
  • 101
2 votes
1 answer
309 views

Javacript/jQuery animation makes text appear/disappear as if typed

On Eric Amodio's website and JS.ORG, there is a Javascript animation which makes text appear/disappear as if it is being typed. I tried to replicate something similar but far more basic on JSFiddle. ...
user avatar
3 votes
0 answers
48 views

Displaying sections from pre-checked options

First off, not the greatest with jQuery but know enough to get by. I have a custom script for our WordPress site that ties in with a main plugin we use. I have a JSFiddle that gives the gist of what ...
ADF's user avatar
  • 31
3 votes
1 answer
94 views

Ajax function with a callback

I have Ajax function with a callback which fetches all the Patient data however I have some perfomance issues and trying to figure out what it might be, does anyone have idea? That's my Code ...
Mike J's user avatar
  • 33
1 vote
1 answer
533 views

Loop through data layer and display dynamic content [closed]

The purpose of the pricingTest object is to grab pricing information from the dataLayer on the page and render content blocks accordingly. My goal in posting this is to hopefully receive some feedback ...
jman25's user avatar
  • 43
0 votes
1 answer
3k views

On form inputs focus, show div. hide div on blur for multiple inputs and hidden divs

I posted a question on Stack Overflow and got an answer that works but has a lot of duplicated code. In the future, the functionality may also require a third or more divs to be shown or hidden. The ...
user191294's user avatar
0 votes
1 answer
109 views

Creating dynamic table rows

I would like to know how to make this faster. It's okay for 100 rows but 1k, 10k, 100k is different. ...
Munkhdelger Tumenbayar's user avatar
3 votes
2 answers
101 views

Making the font as big as possible without overflowing each div

I made a function that makes font sizes in <div>s as big as possible without overflowing. It takes a long time to run. How do I optimize this? ...
clickbait's user avatar
  • 204
1 vote
0 answers
2k views

jQuery animate() and css() not performing well in firefox and internet explorer

I am making a webapp that needs a division to expand on click. (The division is loaded with content, so it was likely to not animate very well, but I increased the animation time to 1s to make it look ...
metamemelord's user avatar
-3 votes
1 answer
66 views

Reducing multiple each statements in jquery [closed]

So according to the selected row id (from 1 to 3), it will push each value to the appropriate array. How can I reduce those each statements? for ...
csandreas1's user avatar
2 votes
0 answers
46 views

Remove General sibling on Keyup

I am creating a search filter using jQuery and implementing Array.prototype.filter(). What I have done is that I call the ...
davecar21's user avatar
  • 123
3 votes
1 answer
92 views

Fast prototype code to hook up a webcam to the Azure Emotion API

Last week I had a 5 hours school project deadline based on the Azure Emotion API. Right now I am trying to rewrite the same code in a more clean/elegant way. I am quite new to coding so I will need ...
Vera Perrone's user avatar
1 vote
2 answers
77 views

Filtering long lists of images

I have to filter some very long lists of images many times (thousands, even 10/15k, even much more), so performance is important. First solution: ...
fabio's user avatar
  • 111
3 votes
2 answers
197 views

Creating keyboard shortcuts for highlighting elements of given classes and toggle through them

I have written a jQuery script to create keyboard shortcuts to highlight elements of a class (given to me) and toggle through them. I have created the HTML file myself, so ids and class names are all ...
Vamshi 's user avatar

15 30 50 per page
1
2 3 4 5
14