1
vote
1answer
116 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. $('selector').on({ mouseenter: function() {}, mouseleave: ...
0
votes
2answers
178 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: { name:'Document Title', url:'/path/to/document.html', ...
1
vote
1answer
79 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
23 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. this.items = { menuItems: [ { title: 'title1', data: [ { ...
0
votes
1answer
207 views

PSEUDO Query (jQuery extension)

I just invented PSEUDO Query! var objects = $.pquery([ '##pquery##', // Initialize as PSEUDO Query Object [document.body, 'css', [{'background-color':'#f00'}], 'append', ...