I have an ajax code that makes a request in a php file, and in this php file has only one
echo json_encode ('test')
In return, the string "teste"NULL , always with this NULL is returned, after any return.
$.ajax({
url:...
Whenever I click the label that is inside flags it should apply a background-color . It's working.
What happens, is that when I click on a div, it applies the background correctly, but when I click on another, I want it to remove the backgr...
$.getScript("func2.js", function() {
$(".teste1").text("1");
$(".teste2").text("2");
});
<div class="teste1" style="color: red"><div>
<div class="teste2"><div>
Why did he only enter once?
I'm implementing DataTables pagination and I could not figure out how to change the number of paging number buttons.
As you can see, we have 1 a 5 , or we could have 7 a 11 numbers of the Page, that is, always 5 numbers . I would...
I am using off() in an element to disable its functionality and need to enable it again with on() . But it is not working when on() is executed ...
Here's the code, I'm trying to prevent a form from being sent 2 times when...
I have a jquery function that mounts an html. It turns out that there is a View with 4 tabs. I would like when selecting a certain tab, the function would be called and of course, loading the dynamic html to mount the page. What event do I do? I...
I'm using DataTable to better organize some spreadsheets of my system, but the client suggested to me that the paging buttons could be replaced with letters of the alphabet, instead of having botão 1 corresponding to pagina 1...
I want to know how to manipulate the border of a div. The idea is to have a well-defined border in the upper right corner of that element. That is, if the div has a square format of 4 px on each side. top right has a 2px-sized border and well pr...
Good afternoon, I have a form and I want it when the submit button is clicked it does not reload the page for sending the post I placed return false; in function submit of jQuery but did not roll .. .
$("#form-anunc...
Does anyone know why it is not disabled in jquery. That is, when I click the button. I want to click on the button (disabled = false)
$(document).ready(function(){
$("#b2").click(function(){
$("in...