All Questions

3
answers

Apply CSS style to a row of an html table depending on a value

I have a common html table, with a column called "status", whose possible results are "yes" and "no". and I want to make all the rows whose state is="not" paint them in another color. How can this be done with jQuery? <table> <tr&g...
asked on 18.04.2017 / 18:14
2
answers

Get backgroundColor of a div when you click (JavaScript)

I'm doing a little game of a drawing palette working with the JavaScript DOM. I want to click on each div with a background color, select that color. I do not know what I'm doing wrong, because when I access the property style.backgroundCo...
asked on 12.02.2018 / 12:31
3
answers

How do I enable an input disabled when selecting a select with jquery?

I have a select with two values (allow and not allow), and under this select two input disabled to type the password, the idea is that if you select the value allow me to automatically enable the input to enter the password ... I leave the sim...
asked on 10.03.2017 / 23:40
4
answers

Problem with NetBeans, it does not let me create or open projects

I have even been using NetBeans (version 8.2) to program in Java because I like this IDE but I do not know why it does not work correctly anymore, I click to create a new file or project and nothing opens and when I try to open a project I lets...
asked on 08.11.2017 / 20:14
3
answers

Give color with JavaScript

I have this table: table, th, td { border: 1px solid black; border-collapse: collapse; } <table style="width:100%"> <tr> <th>Firstname</th> <th>Lastname</th> <th>Ag...
asked on 25.07.2017 / 17:16
2
answers

How do I avoid the line breaks when I enter a number?

When I choose any option, it asks me to enter a number, but that's when that number goes down and does not follow. For example: Introduzca un numero: '1 I want that number to appear there and what happens is: Introduzca un numero: (no lo...
asked on 07.12.2016 / 00:53
1
answer

sql when using nolock

In a query made with two tables, there is the possibility of placing a nolock. Why is this done? FROM tabla1 t1 (nolock) INNER JOIN tabla2 t2     
asked on 18.06.2016 / 16:36
2
answers

Obtain the dimensions of an image in Javascript

Can JavaScript get the size of the image? that is, if it is in a web element image with width and height you get what it takes to screen, but I'm interested to know what is its actual size.     
asked on 09.06.2017 / 11:02
2
answers

Problem rotating an array

I have problems with my program .. I think it's coding .. it's the first time I play javascript and I'm a bit lost .. Basically what I have to get is that my array of colors moves ... that is, the gray color goes to the last one ... a rotatio...
asked on 14.03.2017 / 19:44
3
answers

How is the usign (MySqlConnection) C # used?

Hi, I want to know the correct way to implement the using (MySqlConnection cn = new MySqlConnection() It is assumed that when creating a connection within this using when I finish executing what is inside the block I will release...
asked on 28.11.2016 / 21:06