<div id="pointId">
//Ваша точка
</div>
//Получаем точку
var point = document.getElementById("pointId");
//Вешаем обработчик
//срабатывает при заходе курсора на элемент
point.addEventListener("mouseover",function() {
this.style.backgroundColor = "gray";
})
//срабатывает при уходе курсора с элемента
point.addEventListener("mouseout",function() {
this.style.backgroundColor = "white";
})
mounted(){
axios.post("/Home/GetList", null).then(resp =>{
this.list = resp.data;
});
}
public JsonResult GetList(){
var res = db.TableList.GetAll();
return Json(res);
}
SELECT
T2.Name,
T1.Name
FROM Table2 AS T2
INNER JOIN Table1 AS T1
ON T2.Name LIKE T1.Name
UPDATE Table2 SET Table2.Name = T1.Name
FROM Table2 AS T2, Table1 AS T1
WHERE T2.Name Like T1.Name
public class Customer
{
private string name;
private int age;
public int Id { get; set; }
public string Name
{
set
{
if (name != null)
{
Console.WriteLine("Поле уже заполнено " + name);
}
else
{
name = value;
}
}
get { return name; }
}
public int Age
{
get { return age; }
set
{
if (age != 0)
{
Console.WriteLine("Поле уже заполнено " + age);
}
else
{
age = value;
}
}
}
public Address[] Addresses { get; set; }
public Job[] Jobs { get; set; }
}
function fixB() {
if (document.body.clientWidth < 500) {
console.log(document.body.clientWidth + " меньше 500");
} else {
console.log(document.body.clientWidth + " больше 500")
}
}
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
.my-hidden {
display: none;
}
}
<li class="active"><a href="#tab0" data-toggle="tab" role="tab" aria-selected="false" aria-controls="tab0">
<i class="icofont-1x icofont icofont-file-alt"></i> <div class="my-hidden">Размер и тираж</div></a></li>
SELECT
T.number,
MAX (SNILS.[value]) AS snils,
MAX (INN.[value]) AS inn,
MAX (ORGN.[value]) AS orgn,
MAX (C.[value]) AS CITY
FROM
dbo.TestTable AS T
LEFT JOIN dbo.TestTable As SNILS
ON T.id= SNILS.id and T.prop='snils'
LEFT JOIN dbo.TestTable AS INN
ON T.id= INN.id and T.prop='inn'
LEFT JOIN dbo.TestTable AS ORGN
ON T.id= ORGN.id and T.prop='orgn'
LEFT JOIN dbo.TestTable AS C
ON T.id= C.id and T.prop='city'
GROUP BY T.number