Questions tagged as 'html'

1
answer

Update data of a form according to a record of an html table

The problem is that when you update the form data, you do it correctly, but the main menu and the navigation bar stops working. I have it like this ... <tbody > <?php while($fila=sqlsrv_fetch_array($consultaVendedores)){ $nu...
asked by 07.10.2016 / 23:45
2
answers

How to compile pug (before jade) to php with gulp?

I am working on a project that is necessary to work with .php, I have always worked with .html, but now I have to work with .php, I work with pug before called jade and I compile it by means of tasks in gulp, but by default compiled in html, but...
asked by 14.10.2016 / 06:40
1
answer

Add a class to elements except the last

I have divs that are generated dynamically with a button. You can now generate them with the following script: var contenedor = $(".inputs"); $(".agregar").click(function(e){ add_control(contenedor); $(".agregar, .nth").hid...
asked by 31.08.2016 / 15:00
1
answer

select an index of a select in html and based on it affect another Javascript element

Hi, I have time looking for an answer to this, what I want is that when I select an option of my select I can change the text of an imput                                                               Request:                                   ...
asked by 24.02.2018 / 01:54
1
answer

Use variable located in the angularjs driver in the html!

I have the following doubt I am receiving data as follows: var Getcola= JSON.stringify(response.data); localStorage.setItem("GetMycola", Getcola); var cola1= localStorage.getItem("GetMycola"); var Mycola = JSON.parse(cola1...
asked by 21.09.2016 / 20:58
2
answers

Delete background when the user executes the script

I'm trying to make a "dynamic" background, the idea is: The index.html has to have a background, this background must have an image, like a logo. This logo must appear until the user tries to navigate and access a link, this link will call an...
asked by 28.02.2017 / 23:37
3
answers

How to insert a select in a table (Datatables)?

Use datatables to list data brought from a DB but I need to insert a select (drop-down list) in one column of the rows try this way but it did not work. var users = $('#users').DataTable( {}); $.ajax({ url: 'users'...
asked by 28.02.2017 / 16:30
1
answer

I can not show and delete a record using a pop-up window

The delete function works perfectly by doing the following with the delete button. <a href="borrar.php?id=<?php echo $persona->id; ?>"><button type="button" class="btn btn-danger" onClick="<?php $identificador = $persona-&...
asked by 27.02.2017 / 08:49
2
answers

Images and texts are displayed at different heights

You see, something fails to use table tags, because the texts are put at different heights, which affects even images. HTML code: <table> <tr> {% for alfa in categoria %} <td> <img src="{% static alfa.foto %}"/> <...
asked by 13.05.2017 / 11:37
1
answer

How can I occupy JavaScript collapse repeatedly?

I have a problem with this function since it does not allow me to use it more than twice, that is to say the button if it appears in all my options but when pressing another button only the information of the first one is moved, I am very new pr...
asked by 17.05.2017 / 18:38