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"...
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...
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>...
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...
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...
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...
Good I am practicing creating a form with bootstrap.
body{
background-color: #74DBEF;
}
#contentPrincipal {
background-color: #F6F5F5;
margin-top: 30px;
border-radiu...
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...
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...
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...