Questions tagged as 'jquery'

1
answer

Sending data with php / jquery to mysql

HowcouldIsendtheindex.phpscreendatatomysql,usingjavascript/jquerytodothisfunctionthatisbeingshownintheimagebelow.Mycodeisbelow:Myindex<div class="container"> <h1 class="restaurant-title">Peixaria</h1> <div id="menu...
asked by 01.02.2017 / 19:04
1
answer

How to organize the development of a project [closed]

I ask in a very comprehensive way applied to both Desktop and Web, if methods are very different, I ask you to orient me. I have some clients, and after a few months, I see that growing projects (both web and desktop) makes it difficult for o...
asked by 10.03.2014 / 15:44
1
answer

How to update a div every x seconds?

Following a part of the html code, I need to update this div (# line1) every x seconds without using php. It can be with jquery, ajax, js or all together. I do not want to simply change a div ("altered div"), it is dynamic, it takes data from a...
asked by 13.09.2018 / 16:39
1
answer

Change the input field type with jQuery

$(document).ready(function() { $('#password').attr('type', 'text'); $('#password').val('Password'); }); This should change the #password input field (with id="password" ) of type password normal text field an...
asked by 25.09.2018 / 16:07
1
answer

Detect browser closure or tab

Is there any JavaScript / jQuery code between browsers to detect whether the browser or a browser tab is being closed?     
asked by 01.10.2018 / 20:05
1
answer

Search the database when loading the page [closed]

When I load the page I want to make a query in the database and check that the result has brought more than 3 results, if I bring it I want it to block a checkbox. How can I do this? I'm using JQuery, PHP, MySQL.     
asked by 03.08.2016 / 00:19
1
answer

How to change the "code" content of a section with javascript [closed]

Hi, I need to change the content (code) of a section with javascript with the .click or onClick function but the content can not override that of the other section! Thanks     
asked by 11.07.2016 / 15:10
2
answers

Clear input with Jquery with more than one class

My input looks like this: <input type="text" class="noclear form-control" value="" name="" required> Jquery: form.find('input[class!="noclear"]').val(''); If I leave the input, just with (class="noclear") works right! But I need...
asked by 07.11.2018 / 10:55
1
answer

Image pagination

I need to list some images, which need to be shown in groups of 6 per page. It can be any type of pagination. I have knowledge in Database, PHP, I can bring the images of the bank, however I am looking for a simple pagination, that I can use...
asked by 25.02.2014 / 20:52
1
answer

how to implement jquery in php? [closed]

Good afternoon my doubt and the following I want to put a custom alert of the jquery confirm in the code in php but it does not run already I tried everything I already called the files and nothing if someone can help thanks Here is my code,...
asked by 22.09.2015 / 19:26