All Questions

1
answer

Preferences in a navigation drawer

I have an activity with a navigation drawer in which if you click on one of the options you should load the preference fragment. For this I do the following but it does not allow me to load the PreferenceFragment with getSupport...
asked on 10.05.2016 / 14:29
3
answers

Is there any difference between left and margin-left?

I would like to know what is the difference, if any, between left and margin left or right and margin right en CSS . Can it be that the difference is that one is CSS and another CSS3 ?     
asked on 08.01.2017 / 13:42
2
answers

Send POST to PHP through AJAX

I need that when I click on a button through POST I send a data to a PHP file where I make a query with that parameter that I receive to generate a graph. I have done it by means of a form, but an inconvenience arises when clicking on that butto...
asked on 21.09.2016 / 20:55
1
answer

Problems with Image Link

I created a model called worker that has a field called signature where I'm uploading the signature digital in an image: class Trabajador(models.Model): usuario = models.OneToOneField(User) dni = models.CharField(max_length=8,p...
asked on 10.05.2016 / 17:29
0
answers

Problems configuring FreeTDS OS Capitan

I'm trying to connect to a SQL server from a machine with OS X , Capitan through FreeTDS > I made the installation with brew uninstall freetds , I made the changes in my file /usr/local/Cellar/freetds/1.00.24/etc/freetds.conf...
asked on 27.01.2017 / 00:06
2
answers

How to get value from an input using jquery?

The following line: <a id="asociar-1500" style='color: #004881' href="#" title='Asociar al Proveedor' class="btn btn-danger"><input type="hidden" value = "true"></> It generates the following HTML: <a id="aosciar" cla...
asked on 06.05.2016 / 17:44
2
answers

DateTime - 1 week

I have the following variable: DateTime zonaSemana = DateTime.Today.AddDays(((int)DayOfWeek.Wednesday - (int)DateTime.Today.DayOfWeek) == 0 ? 7 : ((int)DayOfWeek.Wednesday - (int)DateTime.Today.DayOfWeek + 7) % 7).AddSeconds(1); Is there...
asked on 31.08.2018 / 12:05
7
answers

Call functions with JavaScript parameters with Ajax $ ('Element') on ('click', func (param))

I need to pass a parameter to a JS function but:    when executing this code, call the function before clicking and also do not pass the parameter /*Este es el codigo AJAX al que quiero agregarle el parametro*/ $('#atribute').on('...
asked on 17.05.2018 / 15:05
2
answers

ENCRYPTBYKEY CONVERT return NULL or TRUNCATE

I am using ENCRYPTBYKEY and DECRYPTBYKEY but depending on the CONVERT that applies insert a null or else I get a truncation error I define the following table: CREATE TABLE [dbo].[Tracking]( [DataEncrypted] [...
asked on 13.01.2016 / 14:33
2
answers

Database Model (entry and registration to the system)

Evaluation for example is like a school subject, physical chemistry math. Attempts for example are the exams given for each subject I want to know the attempts of a user regarding an evaluation The userid must be in the Attempt entity...
asked on 25.03.2018 / 00:21