Questions tagged as 'html'

2
answers

Update the image view when replacing it in the source folder without reloading the page

I have the following problem, it is a page where the products have an image, I want to change the image, replacing it in the source folder, that works for me. What does not work for me is how to update the new image (which has the same name and...
asked by 09.03.2017 / 05:23
1
answer

Allow the user to save in csv the data of a mysql query on their local pc

I'm doing an HTML interface with forms that the user fills, save the data in mysql and then consult and display them in a table. I wanted to add a button that allows me to choose a local directory to save that table, like a csv with the purpo...
asked by 07.03.2017 / 16:15
1
answer

Concatenate integer and string in a Djangoplate theme

Good morning, The problem I have is that I want to concatenate an int with a string in a Django template, but when I try it, I return an empty value. This is my code: {% with "object_"|add:obj.id as check_id %} El objeto es {{check_id}} {%...
asked by 06.03.2017 / 23:21
2
answers

Activate drop-down menu when the mouse passes

I am working on an ASP.NET MVC application, in which I have a menu which one of its items has a sub menu which is hidden by applying css HTML <div class="container" style="width:100%; height:100%;"> <div class="menu-wrap">...
asked by 15.03.2017 / 03:38
3
answers

How to reset a file type input?

I have a problem with the following code, what I want to do is that if the image is larger than 3.67 MB, I warn the user that it is very large, and that he does not select the image, since when he gives the alert the user the image is still sele...
asked by 04.03.2017 / 18:26
1
answer

Save multiple checkbox, inputs text together in a database form with ajax

I have these two but I do not know how to combine them to save as much as a text image and multiple checkboxes or if they have any other that they can provide me. $(document).ready(function(){ $("#formulario").submit(formulario1) func...
asked by 05.03.2017 / 23:09
1
answer

Keep selected menu item with another color

Good you can help me, I have the following menu on a master page: <asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal"> <Items> <asp:MenuItem Nav...
asked by 22.02.2017 / 19:19
2
answers

Fields in a form that are not completed are saved as NULL in the database or ignored in the query

I have a form with different inputs, of which the vast majority are not necessary to fill (and some of these are inputs that are related to other tables), my question is, when these inputs are empty, how do I do that are not added in the insert...
asked by 21.02.2017 / 15:01
1
answer

My javascript variable does not exceed the value of 1

I have a javascript code (below) where a variable with the initial value of 0 is declared. I want to touch the div, its value is set to 1, and to play a second time, its value is set to 2. The problem is that when I play the div for the fi...
asked by 17.03.2017 / 17:06
3
answers

Positioning of header, footer and aside?

The css code I have is the following header { width: 100%; height: 60px; background-color: #141616; z-index: 0; border-bottom: 1px solid #383838; color: #FFFFFF !important; position: fixe...
asked by 13.02.2017 / 01:39