Questions tagged as 'html5'

2
answers

Problem with FullScreen image in Mozilla

I have my function to enlarge a full-screen image, which works for me in Google Chrome but not in other browsers. I have the following code: $("#Button1").click(function (ev) { launchFullScreen(document.getElementById('image...
asked by 06.03.2016 / 22:18
2
answers

Header: location - Does not work

Perform a project that required the pages to have .php extension My problem is that when the page must redirect with the label: header("nuevapgina.php"); , it simply remains blank, and in the project I use it in 3 different occas...
asked by 05.03.2018 / 17:28
1
answer

How to get cloud style under a Bootstrap Navbar

How could I get the following style in my navbar in bootstrap 3, referring to the cloud style? The design I want to obtain is the following: I have tried with IMG as an edge but I can not do it. .navbar-principal .img-logo {...
asked by 10.08.2017 / 20:28
1
answer

How to use the hotkeys with Jquery?

I would like to know how to use the quick access keys in Jquery. Currently for click events a button is used in this way: $("#id_boton").on('click', function (e) { //codigo ... }); In the case of the row of a datatable: $('#idtable...
asked by 28.03.2017 / 04:57
1
answer

Cmbiar og: image with Javascript

I have a page where, for reasons beyond my control, I do not have access to the HEAD (business issues). The thing is that I currently have the load of og:image done by a JQuery call: $('head').append('<meta property="og:image" con...
asked by 02.03.2017 / 09:58
1
answer

I do not add the row in the table by Jquery

I must add rows to a table using Jquery, I have not been able to see the error in the console, the picture shows what I should do after clicking the add button of the modal form: $(document).ready(function(){ $("#add").click(f...
asked by 06.05.2018 / 19:03
1
answer

How to pass a Java String to Javascript

It is a java web application project. I want to put a bookmark using google maps, I have my jsp where I show it and I have the javascript where I use the api. I have a java where I make the connection to the bd MySQL and another where I make the...
asked by 27.10.2016 / 02:12
1
answer

Failed to connect WebSocket php - javascript

I am practicing webSocket and I try to connect php with javascript - html5 to be able to later make a chat, so I have the following in servidor.php . $host="127.0.0.1"; $port="3333"; $socket= socket_create(AF_INET,SO...
asked by 29.09.2018 / 23:28
1
answer

Operate a required? HTML5

guys! I'll be brief, I'm doing a basic form in HTML of the type "Register here", some input I throw them with attribute 'required', but when I try it they do not work for me. I leave an example. <!DOCTYPE html> <html lang="en"> <...
asked by 24.03.2018 / 01:49
1
answer

How to operate a gif loading when using the window.location.href when downloading a document?

I have the following click event, which when exporting a pdf, is downloaded, but I wanted to place a gif animation loading while it is generated. I've tried to do it like this: $("#export_pdf").click(function (e) { e.preventDefault();...
asked by 02.07.2018 / 23:49