Questions tagged as 'html'

3
answers

Use Smarty variables in JavaScript with innerHTML

I have Smarty variable (PrestaShop) {$cart_qties} . How can I use it in a script? For example <script> if ("{$cart_qties}" > 5) { document.getElementById("demo").innerHTML = "MAS de 5"; } </script> <p id="demo"&...
asked by 08.06.2017 / 12:52
1
answer

Problems with a table

Good morning. I am making a table where rows are added and these can be edited. I had a previous problem which was that I only edited the header, and I fixed that problem but another one was generated: I only edit the first row but the second...
asked by 20.07.2017 / 17:36
2
answers

Deactivate a tab in Semantic UI

I continue to give the implementation of Semantic-UI and I am with a problem that I would have to see why it does not work. It turns out that I have a system of 5 tabs that depend on the certain values I take from the database. One of those...
asked by 04.07.2017 / 15:23
1
answer

Error Uncaught TypeError: Can not read property '1' of undefined [closed]

I get the error:    Uncaught TypeError: Can not read property '1' of undefined           at Object.success (Index.html: 60)           at c (jquery.min.js: 3)           at Object.fireWith [as resolveWith] (jquery.min.js: 3)           at k...
asked by 01.06.2017 / 00:35
3
answers

Div of 100% width is superimposed on a 'span' floating to the left

I have the following HTML code: <div class="tags-notice"> <span class="item-tags"></span> <div class="content-etiquetas"></div> </div> And I want the div.content-etiquetas to face the...
asked by 14.06.2017 / 18:57
1
answer

customize welcome email sent from php

Good morning, I can not find a way to personalize a welcome message that is sent after registering on the web. I see that it does not pay attention to HTML tags either. I'm using: $destinatario = $mail; $contenido = "<br>Bienvenido...
asked by 21.05.2017 / 23:34
1
answer

I need to print several querys in different columns in an html table

I have a large table and for each column I need a different query, the problem is that I can not get the data printed in the column on the next right; $connect = odbc_connect("proyecto", "usuario", "contrasena"); print ("Fecha de Inicio: $newD...
asked by 16.06.2017 / 18:18
2
answers

Help with the select in a combobox

I'm using a select to save data from a database, but when selecting several of select only saves me the last one selected from the combobox box and I want to logically save all the selected. This is the code I have <...
asked by 12.04.2017 / 23:27
1
answer

Get value in POST variable of a Modal window

How about, asking for your help one more time. I'm making a table where I show clients and each client has a button where they show their personal data, I'm doing it when I click on the button to open a modal window and show that information I d...
asked by 11.04.2017 / 19:17
2
answers

Export to .csv from Table

I am currently trying to do a job for a friend, but I can not do the following. I have a table where everything is in the database. And the code of that page is this (Ask for a connection that works): index.php <?php require('c...
asked by 24.05.2017 / 14:12