Questions tagged as 'html'

4
answers

Search within an Array to print match value

I have an array of users and I want to print in an html only the one with the email: "[email protected]", how can I do that search within the array. var user = [ { "id": 1, "name": "Leanne Graham", "username": "Bret", "email"...
asked by 17.03.2018 / 21:42
1
answer

validate form with image if the field is empty?

When the input of the image is empty and I send it my javascript does not run but when I attach a doc it tells me that I have to attach a valid image which is fine. Then I would need my if I recognized the empty field to show that alert. I tried...
asked by 15.03.2018 / 06:37
2
answers

Clean text in a table

I have the following static table, where I make an ajax and get data. In my success ajax I ask if the array has data fill me the table. <table id="table1" class="table table-bordered" cellspacing="0" width="100%"> <thead>...
asked by 15.11.2018 / 15:29
3
answers

Align span and textbox

I have the following form to login but they do not line up. I can not get the user and password span in the same line, that is, there is not a jump between the span and the input . I'm using bootstrap 4. /* LOGIN...
asked by 25.01.2018 / 20:42
2
answers

How to read the value of an html block in C #?

I need to pass a block of html that has a label with a path of an image (this block is saved in the database), the path of the image I need to put in a function of c #. I already get the html as a string but I can not extract the value of the...
asked by 25.01.2018 / 16:29
3
answers

Problems with PHP routes

I have the following codes: I have my index.php <!DOCTYPE html> <html> <head> <?php include('includes/head.php');?> </head> <body> <?php include('includes/navbar.php');?> <?php includ...
asked by 26.01.2018 / 21:43
1
answer

problem with the first-child selector

Good I am practicing creating a form with bootstrap. body{ background-color: #74DBEF; } #contentPrincipal { background-color: #F6F5F5; margin-top: 30px; border-radiu...
asked by 28.01.2018 / 14:39
2
answers

Disable a list group

I have a list group like in the image I want to disable it when I touch the "Edit" button using the following code, but when I do it the buttons are still "clickable", how can I disable it correctly? Thanks Code to disable list grou...
asked by 18.04.2018 / 02:38
2
answers

Problems generating a table with php from a two-dimensional array

Hello this is my code and although I put the rowspan to 3 does not generate the table correctly, I try to generate a table from a two-dimensional array with PHP but when formatting the table does not come out as it should, I can not find the err...
asked by 09.01.2018 / 23:55
1
answer

How do I separate the form data in two different boxes?

I want to separate the data from the left part of the form, put each one in a box, a div different with that transparent background that they are and I am incapable. I did several tests without success. Nor am I able to vertically center...
asked by 29.12.2017 / 15:26