Questions tagged as 'jquery'

1
answer

How to do a "Read More" button in JavaScript

Hello. Home I have this text:    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent   aliquam vitae elit in lobortis. Morbi tincidunt enim elit, condimentum   accumsan pain lacinia elementum. Proin magna nunc, interdum in   pos...
asked by 17.05.2017 / 22:13
2
answers

What are the differences between jQuery and jQuery Mobile?

I was reading today about the jQuery Mobile framework and from what I understood it would be for jQuery as Bootstrap is for CSS. I do not know if I understood correctly, but the question remains: does jQuery Mobile also have the same function...
asked by 17.04.2017 / 18:08
1
answer

Values are going empty in JQuery

I have a form, of which I am trying to get the values this way, but it is not working. Where am I going wrong? JQuery <script type="text/javascript"> $(document).ready(function(){ data = $('#login-form').serialize(); $.post...
asked by 05.07.2017 / 15:14
1
answer

Error Scrolling a Json

Good afternoon guys, I have a question regarding json, I have the following json: { "jsonrpc":"2.0", "result":{ "nr":26, "lista":[ { "codigo":"2", "nome":"Pratos Quentes" }, { "codigo":"...
asked by 19.04.2017 / 22:30
2
answers

How to use jQuery to dynamically add text field in form

I have a form where the client needs to inform the number of ports of the patch panel, and according to the value that it populate this field, new fields appear dynamically to add other relevant information. Example: to register a new patch a...
asked by 07.07.2017 / 23:04
1
answer

CLASS="active" according to a selected tab

Hello I intend to create a notepad, where a title and a note will be inserted. For each note entered, a tab will be created. I want to click on the tab and load the title and note into an input and text area automatically. To recover...
asked by 15.12.2016 / 16:25
1
answer

Delete PivotTable line via button in dialog box

How do I delete a row from a PivotTable via a confirmation dialog (modal)? So far I can delete just using the delete button directly from the row itself in the table, but I'd like to have a modal with a commit before deleting it. In the ta...
asked by 19.06.2017 / 23:09
2
answers

get array time with jQuery?

I have this code: var fhora = function(horamin, horamax){ var horas = ["11:20", "04:40", "22:30", "07:00"]; return horas; }; How do I get back to the hours between 05:00 and 23:30? fhora("05:00", "23:30");     
asked by 21.06.2017 / 11:04
1
answer

doubts with sortable jquery

I'm wondering how to use the jQuery sortable. I have to block so that the user never puts a tr on th 2º Notice that when you drag a place line the data is all stuck together, how do you keep the columns separated? $(doc...
asked by 08.05.2017 / 18:10
1
answer

Add css transition in div on Flexslider

I have a flexslider in a Project, in it I have the background image and inside a div with description and button for external link. What I need to do is that with each slide change, this div has a transition, as if it were to give left 0 and up...
asked by 24.01.2017 / 14:39