Questions tagged as 'javascript'

2
answers

Leave a hide element with javascript

I have an element with ID="not1" which is a link to inserted news headlines being dynamically created with the respective news of each title as shown below. <div id="noticia"> <div id="not1"><a href="<?php $noticia['idp_...
asked by 25.06.2017 / 05:24
1
answer

Image Thumbnail through URL [closed]

I want to do this: There is a field where the user inserts the URL of an image, and wanted to paste this url into the field, a thumbnail appears next to (or below) the field, similar to what FB does, where you paste the URL url of the video i...
asked by 26.01.2017 / 22:43
1
answer

Jquery statement that returns the last child of different elements

Hello, I'm doing some exercises in a programming course I did. I came across this task and I do not know how to solve it, does anyone have any tips? Make a jQuery statement that selects all the elements that are the last child in the HTML of...
asked by 26.01.2017 / 03:34
1
answer

Display image according to time by repeating the javascript function

I'm using this code to display two images on a particular page: <!DOCTYPE html> <!DOCTYPE html> <html> <head> <style> #mapinha { position: relative; top: 0; left: 0; } #mapa_big { position: relative...
asked by 29.01.2017 / 08:22
2
answers

How to remove a column from the grid using jquery

I have a grid where I have to leave a hidden column, I'm doing it this way but it's not doing it the way I would because I can not predict how many rows it will have in this column. I have a grid, where in typename I have: I want to remove t...
asked by 30.01.2017 / 18:44
1
answer

Object Date () does not work in Mozilla Firefox

My Javascript code has a Date object, however this script only works in Chrome and IE, and in Firefox nothing appears, why does this happen? Code: function relogio(elemento){ var target = document.querySelector(elemento); v...
asked by 30.10.2016 / 09:13
2
answers

Menu link color changes when the scroll is over its respective section

Hello, everyone! What JavaScript code should I insert so that when the user is navigating (scrolling) over a section, the "li a" receives a new class to change the color of the link? Ideally, the "#inicio" section should receive the class...
asked by 01.11.2016 / 15:52
2
answers

Service with list of cars and models

Good afternoon, I am developing a site where you will need to fill out the model of the car, brand and year. I would like to know if you know of any web service that brings me this information or I will have to enter them manually? Hugs!...
asked by 31.10.2016 / 15:21
2
answers

External site iframe

I have a page with% of external site%, how can I do to be able to automatically click when loading iframe on a button that has determined iframe on the external site? Not exactly texto , classe or id , but for...
asked by 31.10.2016 / 14:31
1
answer

How to select the ids of a table with checkbox and save in the bank?

How do I select some items from a dimanic table coming from the mysql database and loaded into a table using javascript or jquery and set the marked checkboxes to the category as 'sport' in the database? Below is an outline of the code <...
asked by 03.05.2017 / 17:29