I'm implementing Dialog for Jquery UI in my application. When the dialog is closed it should close the current window using the window.open(); method of javascript.
However this does not occur, and the following error is still displaye...
I'm a beginner in programming, how do I insert a mask and a cpf validation in this script?
It can be php or jquery.
<h2>Novo Cliente</h2>
<form action="add.php" id = "formCandidate" method="post">
<hr />...
I have a small jQuery script for loading the page, a calculation based on the height of a div is added, and then a margin is added for the result.
The problem is that you are not getting the height value of this div . In case, th...
I have a function something like this:
$('#btn-load-more').click(function(){
var key = $('#hash').val(), limit = 0, i = 0;
setTimeout(function(){
$.post('api', {type: 1, limit: limit, key: 128921}, function(res){
co...
Hello
In my project, the user makes a registration by entering user, email, link 1 (http) and link 2 (http). I save this data in a database.
In the verificalogin.php page, I check if the email and password are correct and if they are, I re...
Well, I'm having trouble selecting an attribute of a certain element of bootstrap with jquery , for example:
<ol class="carousel-indicators">
<li data-target="#carrossel-principal" data-slide-to="0" class="active">...
How can I make an effect on the text inside the lists with JQuery?
For example, when the mouse rolls over the text in the lists, the color becomes clearer and the text is underlined.
p {
line-height: 1em;
}
h1,
h2,
h3,
h4 {...
I'm having a question, I use jQuery effects like this:
$("#elemento").toggle(2000);
I gave a look in the documentation but I'm not figuring out the right way to do it, I need an event where it starts from right to left. And with 'toggle' I...
You need to grab the contents of several div's with equal classes. For example:
<div class='conteudo'>
<li>Conteúdo 1</li>
</div>
<div class='conteudo'>
<li>Conteúdo 2</li>
</div>
<div cla...