Questions tagged as 'jquery'

1
answer

Put variable in the jQuery selector

I saw some posts on the subject, but it did not help. The problem is as follows: CSS: .spanClass{ display: none; } HTML: <input type="text" name="nome" id="nome"> <span class="spanClass"></span> jQuery:...
asked by 12.12.2017 / 19:05
1
answer

Cancel Event Click JQuery preventDefault

Hello, I'm not able to use addClass when I give a response to my page using ajax. What happens is that it adds the class to my html element for a moment, but the behavior is as if the page was loading, so nothing happens. I'm doing a paging....
asked by 05.01.2018 / 12:30
0
answers

Is my date correct?

I have questions if I am correctly passing the data by date, is the syntax correct? I'm sending it to the receiver.php and trying to get it with POST ['imagedomame']; and it does not work. $('#novo').on('submit',function(e) { e.preventDefa...
asked by 06.01.2018 / 19:23
0
answers

Open the same modal in other html pages JQuery

I have a modal on an html page <div class="modal fade" data-backdrop="static" data-keyboard="false" id="modalPreferenciasUsuarioLogado" role="dialog"> <div class="modal-dialog modal-lg"> <div class="modal-con...
asked by 22.12.2017 / 13:06
0
answers

I can not use webservice

I have the following webservice : http://IP:PORTA/wsexecbo/WebServiceExecBO?wsdl In this WS I have the following function: http://IP:PORTA/wsexecbo/WebServiceExecBO?wsdl/userLogin I would like to consume this WS directly...
asked by 08.12.2017 / 19:08
0
answers

Use splice () to remove an array from the value of an input hidden

I've taken a user's code from here ( add / remove array to an input hidden ), I added a few things and even tried to modify how users who responded suggested, but I could not remove the value array from the removed product. var strong = $('#to...
asked by 08.12.2017 / 18:36
2
answers

Get the value of a select and play in php variable

How do I get the selected value from a select and already print it? I have a simple form, when the user select the value I want to assign to a php variable, because I will show the selected quantity and selected amount x the value of the selecte...
asked by 09.12.2017 / 02:44
0
answers

save div to pdf preserving css

Hello, I'm trying to save pdf using the jspdf script, but it is not working correctly, the code is: var pdf; pdf = new jsPDF('landscape'); pdf.addHTML(window.parent.tela_frame.document.getElementById("resize-container"), function() { pdf.sa...
asked by 04.12.2017 / 13:34
2
answers

Modify a button through an input

I would like to know how I can change the name and property of a button from a radio button. <h3>Criar novo usuário</h3> <p></p> <form class="m-t" role="form" action="login.php" method="post">...
asked by 04.12.2017 / 13:29
1
answer

How to ignore first tr in search in jquery.datatables?

I have a table where the first <tr> I put an image, if when I go to search comes the image name together. For example: in the first line of the table the img is named head.png and the rest of the line does not have...
asked by 02.12.2017 / 01:00