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...
I'm trying to use the scrollleft in my project with the button, it works normal in jsfiddle
But when I put it in my project it returns me this error:
Uncaught TypeError: Can not read property 'addEventListener' of null.
How do I increase the size of the word, value of the placeholder attribute of the text input tag?
<input type="text" name="login" placeholder="Login" required id="login">
I have the following question, can you limit the size (kb) of the photo on the client side with JS (or jquery)?
I'd like to limit by up to 500kb using input type="file"
<input type="file" name="imagem"/>
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 have this script that changes the color of the website as the page refreshes.
<script>
function random_bg_color() {
var x = Math.floor(Math.random() * 256);
var y = Math.floor(Math.random() * 256);
var z = Math.floor(Math.r...
I'm learning programming and I know there are some answers on this topic, which have already made me (theoretically) understand the parameter and who is the argument , however I do not understand the following:
If I can do this:
<?php...
Is there a library that can view documents (doc, docx) to be viewed in the browser on an intranet without the need for external resources like google docs or office live?
I need some component that does not need external access.
How can I make more than one select in the same query? I tried the following (using UNION), but it did not work:
DATABASE
Table: lines_cameras
id_camera_linha | nome_linha_camera
Table: Manufacturers
id_fabricante | nome_fabri...