Questions tagged as 'html'

1
answer

How to close a page with javascript when clicking on the main closure

I am currently creating a page in html, but I would like you to click on the main button to close a window, I mean ... and that I get a popup window with a message of caution ... I found that they do with javascript but with a button or...
asked by 10.09.2018 / 22:21
1
answer

Center the elements of a list in a navigation bar

I'm doing a navigation bar with Bootstrap, within the framework of Spring Boot, which sent them: HTML <header th:fragment="header"> <nav class="navbar navbar-expand-lg navbar-dark"> <a class="navbar-brand text-w...
asked by 10.09.2018 / 20:04
1
answer

Simple redirect with Ajax

I'm learning JQUERY and I want to do a simple redirect in Ajax when you click on a but for some reason it does not redirect me. $("#btn-proceed-chk").click(function(){ var chkurl = "URL-DE-REDIRECCIONAMIENTO"; $.ajax({ async:...
asked by 11.09.2018 / 22:33
1
answer

link to a specific part of another file from a link to

I have a button that redirects to another page of my website. But I want you not to send me to the top, but to a specific part of the file. I'm placing the id in the href , but it does not take it (when I take the id it redirects perfectly,...
asked by 10.09.2018 / 14:15
2
answers

how to add an id to an element created by means of a createElement ("tag");

I want to create a list, to which new elements are added by means of a input (that I already did). But now, I want to delete those elements when I click on them, the thing is that I do not know how to select them, since they do not have a...
asked by 10.09.2018 / 20:14
2
answers

Carousel bootstrap does not work, the script is not executed (it seems)

Hello very good to all the community :) I was doing the design of a web page using bootstrap when I tried to create a carousel but instead of running correctly I put the images on top of each other, instead of contained in the window of carousel...
asked by 14.09.2018 / 12:36
1
answer

How can I show a selected date on a div?

Good, I have this in my javascript $('.fe_registro').on('click',function(){ var res = $('.fe_registro').val(); document.getElementById('resultado').innerHTML = res; console.log(res); }); <script src="https:/...
asked by 13.11.2018 / 17:36
2
answers

How to change an html property depending on the value of a profile collected from java class

I have a text box in which I would like to be able to write or not depending on the profile that the application uses. This text box is in html code inside a .jsp and the verification of this profile is done in its action. How could I do it so t...
asked by 01.09.2016 / 09:19
1
answer

Select all checkboxes but with a condition

I have the following code where I select all the checkboxes in a table. Here is my table <div class="table-responsive row"> <table id="TablaCargaOP" class="table table-bordered "> <thead> <tr class="bg...
asked by 26.09.2018 / 20:22
2
answers

JavaScript operations

I have a problem with this code I try to perform an operation that subtracts it from the result of two inputs is shown in another input but being empty at the beginning I mark the error NaN only gives me the result when running aga...
asked by 05.09.2018 / 17:33