Questions tagged as 'jquery'

1
answer

Zoom in on the value found after searching

Hello! I'm developing a map here and I have a search field and a map with the layers. I'm using leaflet and the search I'm doing custom, because the plugin does not meet my needs. I'm having trouble zooming after finding what I'm looking for....
asked by 22.11.2017 / 00:08
0
answers

Datatables + web2py

I have a table that shows results of a search in the database and I use the Datatables plugin to assemble the pagination. The problem is this: if you pass 500 records the business is slow (Almost every search I make passes easy 500 records)....
asked by 08.11.2017 / 16:45
1
answer

Add date in table

I'm pulling an API and putting its data inside a table, but that data goes to the table part that is the td, but I want to put the date the data was implemented there, so the date would stay in th. Currently my code looks like this: <div...
asked by 06.11.2017 / 15:37
1
answer

Automatically place date and time in HTML table

How can I automatically set a date and time on my html table? Doing for js. I created a table by js and inserted it in my API data, only that data goes to the TD part of the table, and I need to put the date and time it was inserted, and I ha...
asked by 06.11.2017 / 16:48
1
answer

How can I create a query with alternating sorting in rails 5?

I have the following formatting in my database Products  - Name  - Store Id with the following records product 1 - Shop 1 product 2 - Shop 1 product 3 - Shop 3 product 4 - Shop 1 product 5 - Shop 2 product 6 - Shop 2 product 7...
asked by 07.11.2017 / 13:21
1
answer

How to create a scrolling menu?

How is this menu fixed at the top of the page that when the user scrolls down when arriving at a certain place on the page the menu decreases getting compact. And when you return the screen up, does the menu return to the initial stylization? Ca...
asked by 05.04.2017 / 19:32
0
answers

Model Entity Relationship Dynamic form

I created a code where the user is able to drag components and make their own form. I want to save the data coming from the user but I can not define how many fields it will insert into the database, so I can not create the fields in the tabl...
asked by 19.11.2017 / 00:31
1
answer

Save input value in real time

I have the following input : <input id="searchinputid" type="text" class="searchinput" name="txtbuscan" placeholder=" Search..." onkeyup="showUser(this.value)" autocomplete="off"></input> and wanted to save its value in re...
asked by 11.11.2017 / 20:28
0
answers

Insert two images

Is there a way to upload two images at the same time and at the end of the process it's a watermark for a background?     
asked by 11.11.2017 / 11:51
1
answer

How to simplify scroll to section and back to top actions

I have the soft scrolling functions of the menu for a One Page sessions as well as a smooth Back to Top: var $doc = $('html, body'); $('a').not('#back-to-top').click(function (e) { e.preventDefault(); $doc.animate({ scrollTop:...
asked by 15.11.2017 / 22:55