Questions tagged as 'jquery'

1
answer

C # function in the controller to receive an array

I need to get an array of select and send to a function in the controller, but it always arrives as null, even sending the complete array. Here is the code: Controller: [AcceptVerbs(HttpVerbs.Get)] public ActionResult GetLocais(int [] idcT...
asked by 28.03.2018 / 22:18
1
answer

how to send an image to php through a hidden input = 'file'

I'd like to know how to send my <input type="file"> to php through ajax . I wrote the code but it does not call url php and it does not return error. html code: <button class="icon-overlay">Pesq...
asked by 02.04.2018 / 19:16
1
answer

how do I define where my scroll animation (jquery) should end up as a string on the page

Hello, I would like to know how to define a location where the one-page scrolling effect should stop. The problem I face is that by clicking on one of the links in my navigation menu in the header the automatic scrolling scrolls to the desired c...
asked by 02.04.2018 / 20:55
0
answers

Display a pdf in html, as an image

I have an input file field, which looks for a pdf on the client's computer, and would like to display it as an image in html, I'm trying to do this, but I'm not finding an element that I can add the path of pdf and display it, all the examples I...
asked by 02.04.2018 / 21:02
0
answers

Doubts JQuery pagination

I wanted to click on a pagination page, when entering the link the corresponding number would be activated: $('.page-button').on('click', function(){ $('.page-button').removeClass('active'); $(this).addClass('active');...
asked by 02.04.2018 / 19:03
1
answer

Error opening datapicker bootstrap

We recently bought a template from a certain site and among its features comes the datapicker bootstrap as below: Ijustwanttousethisline:<divclass="form-control-wrapper"> <input type="text" id="date" class="form-control floating...
asked by 02.04.2018 / 20:12
1
answer

How do I manipulate values of type type in my JS?

I need to do a calculation with time type input values in my JS using jquery, how do I do this? is there a library ready? <label for="">Inicio</label> <div class="form-group"> <input type="time" class="form-control" id...
asked by 28.03.2018 / 20:03
0
answers

Popular JStree with MYSQL data - Codeigniter

I have created an example of json to populate a jstree and as below, it worked. Using codeigniter, I would like to know how the database structure could be, taking into account that I need to set up a logic to grant permission for a given grou...
asked by 27.03.2018 / 21:33
3
answers

Effects in conjunction with smooth scroll

I would like to put other effects in the scroll sequence. Below is the code I'm using and that just does the scroll . How can I use more effects within this code. Bounce for example. var $doc = $('html, body'); $('.scrollSuvave').click(fu...
asked by 27.03.2018 / 16:58
1
answer

How to check the amount of object in an array?

I'm doing an ajax request, which returns an array of objects (date), how would I do a check on the number of objects? Example: Se (data retornar mais de um objeto no array){ faça isso }senão{ faça isso }     
asked by 28.03.2018 / 16:08