Questions tagged as 'html'

1
answer

Function for delay / delay opening of a div

I have a floating div with a 'close' button, which makes the hidden / visible. <script language="JavaScript"> function controlaLayer(layerover) { if( document.getElementById(layerover).style.visibility == "hidden" ) { document.ge...
asked by 12.08.2016 / 23:00
1
answer

html / css icon links

I could not express myself very well in the title, however it is the following, checking the source code of some sites I came across codes that do not understand how it works ... follow the example <tag class='setas'>seta_pra_baixo&l...
asked by 15.09.2016 / 07:31
1
answer

How to select a select option with javascript / jquery

I have two selects , one for employee and one for function, and it is necessary that when an employee is selected the function of that employee is already selected automatically. This alert works perfectly, but I need instead to...
asked by 08.08.2016 / 21:45
1
answer

Node.js does not load js nor css scripts

I am making a chat app and I can get the page I want but this page does not load the corresponding css nor the js scripts, does anyone have a solution for this please? So far I have this: Code: server.js: var socket = require( './node_m...
asked by 03.06.2016 / 17:40
1
answer

Generate Dynamic HTML with ASP.NET

Good people, I'm having a project, and I need to generate a dynamic HTML card by pulling from an sql server. The case is as follows, I have a CARD in html, all stylized. Which in the case is the code below. <hr class="separador" />...
asked by 14.06.2016 / 16:34
2
answers

How to make the PaiChild relation between two select elements?

I am making two elements Select an "Area" and another "Problem" and need to relate to each other, in the problem DB table is the FK spr_sar_code referring to the sar_code of the Area table. I am not able to interact so that the select problem de...
asked by 19.09.2016 / 18:55
2
answers

Which way to calculate Video time by the method getTime ()

Hello, everyone! Javascript method named getTime(); as well as the getDuration(); that gives us the duration of a video in question if aggregated to <object/> and <embed/> . Well, it's my question:...
asked by 14.06.2016 / 23:49
1
answer

How do I stay with the selected item in a select after page transition?

What are the best ways to stay with a selected item in a select after page transition (Go to a page and then return with the fields already selected) using ASP.NET MVC? Session? Cache? TempData? Hidden field?     
asked by 01.06.2016 / 19:16
2
answers

How to execute a code only after finishing another?

I need to run the city search only after finishing loading the states within the select and capturing the ID . I'm getting this ID to send another Ajax that will populate the cities of this state within another select. What is ha...
asked by 20.10.2016 / 15:56
3
answers

Assign value received from $ .ajax to the variable

It is possible to associate a value received with $.ajax with a global variable, because from these values, I need to add them and show them in another table. I have tried it however it always interprets with local variable, losing its va...
asked by 24.05.2016 / 04:18