Questions tagged as 'html'

1
answer

Pass parameter to Controller in Spring Boot

I have a page with a series of images inserted in cells. I have in mind to make that according to which image you click, a common page loads in which within the controller it determines where it comes from. So that according to what image comes,...
asked by 30.05.2018 / 19:11
3
answers

Correct syntax of document.getElementById [duplicate]

Reviewing my code, I realized that I have different syntax from document.getelementbyid: document.getElementById("prcavance").value = value ; document.getElementById('up_file').disabled = true; I have it with double quotes and anot...
asked by 24.05.2018 / 21:59
1
answer

Bootstrap does not work text-align to me in the class

   I'm trying to put the letter of the header in the center but I can not get it, I also try to put two classes and they do not work like they can be: color and align. I have no idea why I do not get both classes. <p class="text-primary te...
asked by 28.04.2018 / 17:18
4
answers

How to add an event to an element created with JavaScript

Create a button dynamically with javascript and now I want that when you click on it, a certain function will be executed that with jQuery would be as follows: $(".elemento").on("load", function() { // Codigo });...
asked by 16.05.2018 / 00:35
3
answers

How to make a selection list for users of my website

I am something new in the world of programming and I have the following question in the following context: I am developing a web page where one can enter with your user account and make publications, comment on other users' publications, etc....
asked by 16.05.2018 / 00:45
1
answer

Change Javascript object image when an event occurs

I am designing a graphical interface for electrical circuits and I want to check the operation of a light bulb that I have defined as an object. The definition of the bulb object is as follows: /* Función para crear una bombilla */ joint....
asked by 19.04.2018 / 16:17
1
answer

Change the placeholder color of a text input using JavaScript or, better yet, CSS? [duplicate]

I want to change the color of the placeholder of this input. Is it possible? <input type="text" placeholder="Enter your input here">     
asked by 09.05.2018 / 06:01
3
answers

Call javascript functionality from html

I need to call the editProduct () function from a button in the html. What I did was add it to the onclick="editProduct ()" button. This is the javascript code: const API = (function() { /** * Obtiene una orden desde el backend...
asked by 01.05.2018 / 15:31
1
answer

Create a history table with trigger or html, mysql php

I have a table of people and I want to make a history of changes in a table only if I change the level or year that is inserted into a table called history, I do not want it to be inserted if I update its address. ONLY if I update your level...
asked by 13.04.2018 / 00:16
1
answer

Problem with if () with variables that increase and change according to the database

I'm making a website for my mobile app, the truth is that I do not know much about Javascript (nothing really) and I have almost everything I need, the only thing that is giving me problems is this code if (), the which apparently does not recog...
asked by 03.04.2018 / 16:03