Questions tagged as 'javascript'

1
answer

HTML and CSS - Center Tabs to the center of the page

It's a newbie question, but I'm having this difficulty. I have 3 tabs that look like this: ButI'dlikeyoutostayinthecenterlikethis: Alsoinsteadoftext,Iwouldliketoputimages.MyCSSforthetabslookslikethis:/*Stylethetab*/div.tab{overflow:hidden...
asked by 19.11.2017 / 17:14
1
answer

Div with automatic height dropdown menu

Hello, my question is this. let's suppose this code <div> <a>teste</a> <a>teste</a> <a>teste</a> <a>teste</a> </div> This div is displayed when hovering a mouse, so h...
asked by 15.09.2016 / 15:35
1
answer

Viewing birthdays for the current month in FullCalendar

I have a database with a date in the field start , I would like to display only the birthday of the current month in fullcalendar , but I have two difficulties: Select only the birthdays of the current month Show birthdays i...
asked by 16.09.2016 / 20:46
3
answers

Assigning value of an image (s) in Javascript input

I have the following input <input type="file" id="imagefiles" name="files[]" multiple accept="image/*" style="display:none;" /> This input receives up to 3 images I am using javascript to give a post like this 'Imagem': $('#imag...
asked by 13.09.2016 / 15:40
1
answer

Jquery - Popular table using array

I need to populate a table with objects received via the database, but I'm not able to pass the contents: <table id="grid-itens-nota" class="table table-bordered table-hover"> <thead> <tr>...
asked by 10.09.2016 / 20:12
1
answer

How do I get the value of a select and fill in an input?

<?php$con=mysql_connect("localhost","root","") or die("Failed to connect with database!!!!"); mysql_select_db("bancoteste", $con); $sth = mysql_query("SELECT * FROM pessoa"); ?> <!DOCTYPE html> <html> <hea...
asked by 01.07.2016 / 03:28
2
answers

Capture document click to close menu that is open

I'm implementing a function in my menu where it will close the contents of the dropdown that is open IF the click is anywhere except in the menu itself. $(document).click(function(event) { var $menuOpened = $('.dropdown-content');...
asked by 25.01.2017 / 20:12
1
answer

Capture the date of creation of the file

I am implementing a file upload tool via FTP on the web, I use the input type file . POST is done via JavaScript, but I wanted to know how do I know when the source file was created. Ex: file.exe created in 2016 is this the value I want...
asked by 31.01.2017 / 00:33
1
answer

About each, this and attr in jQuery [closed]

Good morning friends, I have a big question regarding these attributes (if I may say so), I would actually like to really understand how each of them works, I wanted to understand why use each one of them, since I already thank and apologize if t...
asked by 26.01.2017 / 14:08
2
answers

How to generate UUID's / GUIDs with Javascript?

I need to create UUID's / GUIDs with Javascript, but I did not find any function in the documentation. Do you know / recommend any existing library that generates valid and satisfactorily random UUIDs?     
asked by 13.04.2017 / 14:43