All Questions

3
answers

Why is the behavior of the undefined variable different from undefined property?

I've noticed this a long time ago in Javascript. If I write a particular code where the variable is not defined in any scope, an exception is thrown: console.log(preco) Result:    Uncaught ReferenceError: price is not defined But...
asked on 26.10.2016 / 15:55
1
answer

WEB Systems What is the best way to escape the Search Engine and make it invisible

When it comes to WEB systems What would be the safest and most used way for it to become invisible to search engines? I know there are "Goals" but I believe there must be more reliable ways     
asked on 15.10.2016 / 21:20
1
answer

How do I access elements of an iframe from an external page?

I need to access an id that has inside an external page that I'm rendering in an iframe on my site. Permission error is occurring. How do I resolve this? This is the link on the page: link Fiddle: link Observe my X-Frame-Options....
asked on 20.05.2014 / 17:27
1
answer

Where is the error that I can not see?

What happens in jeans_status and jeans_opcao it works a beauty more in the first if does not work, it enters if without checking whether imagem_status == 1 and imagem_opcao == 'galeria_imagem' . Can anyon...
asked on 10.10.2016 / 16:38
1
answer

Group by with linq

I have the following tables: **Aula** Id Nome Data **Avaliacao** Aula_Id Aluno_Id Organizacao Didatica To get a join of the tables I use the code: var result = from a in mdc.SBE_AA_Aulas join av in mdc.SBE_AA_AvaliacaoAlunos...
asked on 04.06.2014 / 19:33
2
answers

Decimal places when using Println in Java

I have the following problem when I print this function System.out.println("Area do Tetraedro = " + c1.getArea()); The value of it is very large, eg:    Area of Tetraedo = 389.71143170299734 How to leave it with two decimal places?...
asked on 19.05.2014 / 13:52
2
answers

How do I get the values of a date in the format "dd / MM / yyyy hh: mm" and compare with system date after setting it in this same format?

I wanted to make a comparison between the date contained in the hour1 object with the system date, how can I do it? import java.text.SimpleDateFormat; import java.util.Date; public class MainTarefas { public static void main(String[] a...
asked on 18.06.2014 / 00:37
1
answer

Join with three or more tables with lambda

I made this expression using Lambda and 2 tables. var resultado = db.T_TarefaParceiro.Join( db.T_OsParceiro, t1 => t1.IDTarefaParceiro, t2 => t2.IDTarefaParceiro, (t1, t2) =...
asked on 30.05.2014 / 01:13
1
answer

Regular Expression in Java

I'm programming in Java and need to filter a String from a regex using the matches() method. I can accept letters (a-z) or numbers (0-9), where this number can have 1 or n digits. I'm using the following regex: [A-Z|a-z|\d{n} ] ....
asked on 07.06.2014 / 03:01
2
answers

Accessing windows registry via javascript?

No IE has ActiveX that lets me know if a record exists. Is there a way for Firefox and Google Chrome to let me know if a particular record also exists (using javascript) either through a plugin or another method?...
asked on 22.05.2014 / 16:24