Questions tagged as 'jquery'

1
answer

? php wp_head (); ? = FIX when scrolling in wordpress?

Hello everyone, I want to know how I can make my menu stay fixed when scrolling the browser, regardless of the theme I'm using, until I'm using a Customify free theme and I've seen that it does not give me that possibility , only the pro version...
asked by 14.08.2018 / 22:36
1
answer

Block a button after displaying jquery validate message?

I would like help with the jquery validate, I am doing an exercise in js and would like to increment and block the submit button when displaying the validation message. In theory I already finished the exercise just wanted to add this function....
asked by 19.08.2018 / 06:40
1
answer

Display real-time data [duplicate]

I'm trying to display data taken directly from my database with this script : <script> setInterval( function contaUser(){ document.write,("<?php $sql = "SELECT Count(id) as c FROM tb_usuari...
asked by 20.08.2018 / 15:03
1
answer

Input Radios Control

Hello, I have the following code below where I wanted to control the radios. I want to have an "event" triggered when the each one ends scanning the entire group of radios 1 whose name is "group1". That is, at the end of each group of radios swe...
asked by 28.02.2018 / 20:01
3
answers

How to access img of a JQUERY figure?

I want to get the current $(figure img).attr('src'); , but the editor is saying that this is wrong and will not work. how to make it work? HTML CODE: <figure class="effect-oscar wowload fadeInUp" fotografo='Jessiane'> &...
asked by 26.02.2018 / 14:01
1
answer

Elements that return to their original size when clicked again or when a sibling element is clicked

I have a table with some td that align vertically. When clicked, the td height increases, and if another td is clicked, the previous one resumes its original size. I also need the element to return to its original size when clicked again....
asked by 28.12.2017 / 17:04
1
answer

Problem in return json php

I have a problem with my return json when I try to access the data it returns me object object follow my code PHP $cep = $_POST['cep']; $consulta = new Cep(); $cepCliente = $consulta->getCep($...
asked by 28.12.2017 / 20:33
1
answer

Checkbox sends 'on' when serialized

I have an html form that I send the data via ajax like this: function showValues() { $.ajax({ type: "get", url: "/Home/salvaItem", data: $("form").serialize(), success: function (data) { $("#results").text(data); }...
asked by 10.01.2018 / 12:56
1
answer

Generate download png from a div? [duplicate]

Can you make this galerA? I wanted it when the user clicked on: download png to download the image that has in my div. <div class='queroquevirepng'> <CENTER><img src='https://about.canva.com/wp-content/uploads/sites/3/2017/02/...
asked by 31.12.2017 / 08:11
2
answers

How to prevent deletion of an html snippet?

Good morning People, I have the code <Sua IMAGEM ESTÁ AQUI NÃO APAGUE ESTE CODIGO> VÁRIOS CODIGOS HTML AQUI DENTRO. </Sua IMAGEM ESTÁ AQUI NÃO APAGUE ESTE CODIGO> What do I want to do? I want to know if it is possible for me...
asked by 07.01.2018 / 00:30