All Questions

2
answers

How to set printing options via javascript?

Is it possible? I would for example remove the default margin and remove header and footer. Now open the print window with these options set.     
asked on 03.06.2014 / 16:14
2
answers

Fixed-size table cell

How can I set the width of the column of two tables so that one does not have one cell larger than the other? When I try to create, the cell of the second table always gets larger than the cell of the first table, even setting <td...
asked on 09.06.2014 / 07:52
2
answers

How to do a "rbind" in tables from a SQL base from R?

I would like to "merge" two tables from a SQLite database from the R - and save this into a new table within the same database. Here is a minimum reproducible code: install.packages("sqldf",dependencies=T) install.packages("RSQLite",de...
asked on 18.09.2014 / 02:27
1
answer

Select elements in hierarchy with Javascript

I have a hierarchy as follows <li class="clear2 clearfix" id="field_id16"> <span class="row_title">Link: </span> <span class="row_data"> <div class="field_uneditable">http://3.bp.blogspot.com/-O7KAb62ChqU/Tb_w...
asked on 05.06.2014 / 15:22
3
answers

SQL ordering only after the third character

I have a field in my MySQL table that is of type string, with the following data: Coluna 01DV 03DV 04DV If you enter the value 02CA the farm field thus Coluna 01DV 02CA 03DV 04DV I need it to look like this: Coluna 02CA 01DV 0...
asked on 03.07.2014 / 01:28
2
answers

The sequence contains no elements

This is the error it gives.    An exception of type 'System.InvalidOperationException' occurred in System.Core.dll but was not handled in user code Below is my expression that generated the error: if (refeicoes != null) { for (int i...
asked on 08.04.2014 / 16:45
3
answers

The 4th edition of the JavaScript book: Is the Definitive Guide still a reliable source?

I recently received the JavaScript book The Definitive Guide 4th edition, which covers version 1.5. I would like to know if it is still valid for learning the core of the language.     
asked on 23.12.2014 / 02:29
2
answers

Use "ping" on a site with Python

In Windows CMD, you can use the ping command to get IP from certain sites, for example: ping www.facebook.com.br Is there any way to do something similar using Python 3.4?     
asked on 24.07.2014 / 00:24
3
answers

How to leave empty textbox after an Ajax request via Post?

I have a registration application in .Net MVC and I'm using Ajax to send the contents of Forms to my Action that registers, when I save the value of the fields, in my view the values are still visible in the fields not leaving blank , as would t...
asked on 02.02.2015 / 15:03
3
answers

Get logged in user

In my project I have an authentication module and logout . But I wanted it when the user logged in I would take the id from it so that I would display information about the login of it. Type a view of same details. But that the user who l...
asked on 18.11.2014 / 14:09