Questions tagged as 'jquery'

1
answer

.parent () within beforeSend

I have the following code: // JavaScript Document $(document).ready(function(e) { $("a.excluiAdmin").click(function() { if (confirm('Deseja Excluir este Administrador?') ) { var link = $(this); $.ajax({...
asked by 03.06.2018 / 17:40
1
answer

Enable time in datapicker

I am using the boostrap-material-datetimepicker.js which as a result follows below: The only problem is that when I change the line below: minDate: moment().endOf('day') It also disables the schedule according to figure 2, however wh...
asked by 03.06.2018 / 03:33
1
answer

Redeem ID in return modal Ajax

I've been looking for a lot more and I have not achieved anything similar. I have a record that returns lastInsertId () and this registration is done with Ajax. No success (Ajax) after completing the registration opens a modal. I needed to pass...
asked by 03.06.2018 / 03:42
0
answers

Send FILE from javascript to php

I've read a lot about it and I'm getting more confused. I have the form below: <div class="plano"> <h1 class="titulos">Cadastro de Plano</h1> <form method="post" class="planoCadastrar"> <input type="tex...
asked by 23.05.2018 / 22:34
1
answer

change html da li

I have a ajax jquery that will get the click of a href with a figure inside. I wanted to make a li background image ajax and not href was changed and at the end of the operation it returned to normal. That is, hre...
asked by 02.06.2018 / 16:34
1
answer

Update DataTables table after AJax request

On my page I have the following: $(document).ready( function () { buscaProdutos(); } ); When the page loads, it searches the products for listing in the table. Within this function SearchProducts I have the following:...
asked by 02.06.2018 / 05:32
1
answer

Repositioning li with JQuery

The system I'm working on generates a li with a contact list, every minute JQuery makes a query to check if it has a message for any users in the list. Currently, if you have a message, the system inserts a class into i within the href and it fl...
asked by 30.05.2018 / 18:20
1
answer

nav-tabs nested

Friends I have a nav-bar which is called a nav-tabs1 and I would like it to have another nav-tabs2 just that when I enter all the options that are called after the nav-bar does not stay in the nav-tab1, it is open empty and goes to nav-tab2....
asked by 30.05.2018 / 18:03
0
answers

How to call function together with interpolation from x-handlebars-template

I'm trying to call a function to change the type of my imput. <input type="getTypeHtml({{tipoDeDado}})" function function getTypeHtml(tipoDeDado) { var typeHtml = 'text'; switch (tipoDeDado) { case 0: t...
asked by 24.05.2018 / 18:22
0
answers

Can not read property 'match' of undefined

I am trying to make a match for a certain string that is located in the url so that when it is true just do "/ clothes /" and when it is the value do "1,2" via jquery .. ex: / filter / clothing / sex / 10.10 / color / 20.31 var url = "/filtro/...
asked by 23.05.2018 / 20:20