Questions tagged as 'html'

1
answer

Equivalent to window.showModalDialog for Google Chrome

Hello, I need a window.showModalDialog equivalent to open as modal and wait for it to continue the font, when I open it it becomes asynchronous from my site and does not work together. ps window.showModalDialog works in IE     
asked by 25.10.2017 / 16:39
1
answer

Collapse bootstrap opens all tabs at the same time

<div class="taskList"> <div class="taskToDo clearfix data-toggle="collapse"> <span class="col-sm-8 taskTitle"> <span class="checkTask"><i class="...
asked by 26.10.2017 / 18:44
1
answer

Java external script for the html page is not working

I have a problem with my pages after trying to put js in an external file it just stopped working, and I could not find the error so far. Follow the codes HTML <script type="text/javascript" src="funcjs.js"></script>//den...
asked by 30.10.2017 / 15:30
1
answer

Page DataTable

How do I correctly handle dataTable by paging every 5 seconds? I even get to page, but when I increment the table it ends up stopping .. <html> <head> <meta http-equiv="content-type" content="text/html; charset=...
asked by 19.10.2017 / 05:28
1
answer

fadeIn of divs in a loop?

I have the following code that I would like to make fadeIn and fadeOut after 3 seconds. I thought I would use setInterval to loop and then use setTimeout to give the time each div was visible. Is there any way...
asked by 19.10.2017 / 12:18
1
answer

Display Array data in the Jquery table

I'm developing an application which calculates the average where I validate the fields if they are filled out and if the fields are filled and the sum of the notes is less than 10 it passes the inputText data to the calculating function of the m...
asked by 04.11.2017 / 23:30
2
answers

How to put page title according to a product using JS?

My problem is in trying to put information in the title, in the description or swap the page image by java script. I am trying to make a shopping page (e-commerce) with angular and on the product page I would like to modify the title, descriptio...
asked by 10.10.2017 / 21:49
2
answers

Add button, insert input value into the form itself

I have a PHP form for registering recipes (for food). By filling out this form, it is registered in a MySQL database. <form method="POST"> <input type="text" id="receita"> <input type="text" id="ingrediente"><button id="ad...
asked by 11.10.2017 / 13:11
1
answer

Capture the value of the selected item in selectOneRadio with JavaScript

I have this component Primefaces: <p:selectOneRadio id="mercado" styleClass="teste"> <f:selectItem itemLabel="Interno" itemValue="I"/> <f:selectItem itemLabel="Externo" itemValue="E"/> </p:selectOneRadio> I t...
asked by 29.11.2017 / 01:52
2
answers

Fixed menu after scrolling

I want to make the menu stay fixed after some scrolling, <script> $("document").ready(function($){ var nav = $('.menu-topo'); $(window).scroll(function () { if ($(this).scrollTop() > 150) {...
asked by 09.11.2017 / 19:49