Tagged Questions
1
vote
2answers
89 views
Same function but use different array data
I have these two carousels that randomly pick up pictures. [fiddle] Each of them picks up pictures and links from their own different inner array. It works fine as it is, but I was just wondering if ...
1
vote
1answer
52 views
Optimize jQuery code includes autocomplete function for different input box with different autocomplete content
I have this code below for autocomplete feature of several inputTextbox. The input box also share same class".wikiInput". When user typed something in either of them, a relevant autocomplete dropdown ...
1
vote
1answer
6k views
Multiple jQuery events on one element with different functions and target selectors
According to this two questions: [1] and [2]
I need a way to combine these two methods of handling the event attachment in jQuery.
...
1
vote
1answer
93 views
Shortening a webshop page
I am making a simple webshop page where I need to add a couple of products (and their prices). The shop consists of less than 10 products so therefore I decided to build my own solution since it is ...
1
vote
1answer
24 views
Find the object that contains title1-2
I use jQuery and underscore.js, I have title1-2 and I would like to have the action corresponding.
...
0
votes
2answers
48 views
Trying to convert an extended Array.prototype to a function
I got a random image rotator working by using the following script (demo). But I was told that it is a bad practice to extend Array.prototype. And it does. It ...
0
votes
2answers
296 views
Improve speed of object-to-html transform in javascript?
I have a rather large javascript array of objects that I am transforming into an HTML table. Each object in the array looks like:
...
0
votes
1answer
293 views