All Questions

1
answer

Insertion sort in double-linked circular list

I'm having trouble insertion sort, it's probably in the stop condition, the problem I'm already experiencing with this problem and so far I have not been able to get out of the place. Could someone give a light? Thank you! void ordena(Lista *p...
asked on 13.04.2016 / 17:30
1
answer

How to validate the login without redirecting the page?

I have the following login form in a dropdown, my question is, how to do login validation without redirecting the page? Currently when the user informs a wrong password it is redirected to the login page and informs the error message. <...
asked on 11.03.2016 / 23:35
1
answer

Error CS1526 & CS8032 [closed]

By the translation of the error says that I have to put a ")" at the end of the "type" but already  there is a ")" at the end of the "type" already tried to change to "[]" but it did not work I tried to put 2 ")" as I saw in other codes but also...
asked on 11.04.2016 / 23:27
1
answer

Error saving the data marked in a questionnaire

I'm creating a survey that will save vehicles. For this I have to make a form divided into several pages but when I change the page the data marked in the radio buttons are lost Controller def new_vehicles @vehicle = Vehicle.new @vehi...
asked on 28.06.2016 / 20:56
1
answer

\ n does not work in IE8 - JavaScript

Hello. I'm having problems with IE8, only in it, other browsers and different versions have already been tested and worked, only IE8 does not work. I have a question page in YES / NO as a choice on radio buttons. Underneath a submit button. W...
asked on 18.04.2016 / 04:42
1
answer

Open Image in Modal Bootstrap Dynamically

My intention is the following, after generating the list of images by PHP, I wanted that when I clicked on any of the images it would open in a modal dynamically, where I would pass the image address by some parameter and it would open in bootst...
asked on 26.03.2016 / 21:43
1
answer

Is "new DOMParser" safer than "document.createElement"?

I created a script to try to remove unsafe content at the time of injecting DOM (I'm using in extensions / addons for browsers): var str = "<strong>Hello</strong> mundo <script src="http://site/badscript.js"></script...
asked on 30.05.2016 / 18:54
1
answer

HTTP and HTTPS redirection

I have a site in link and I've added an SSL certificate. I need a script via htaccess to redirect the whole site to link (301 redirect), however a single site specific page will need to be accessed via link Example: link All s...
asked on 13.06.2016 / 17:01
2
answers

Calculation of Latitude and Longitude - Approximation

I'm having a hard time ... Currently I have the data Latitude and Longitude of company records in my database, with this I need to bring data close to me, in case I would have latitude and longitude of my position, for example, to bring compa...
asked on 08.07.2016 / 14:48
4
answers

C # Textbox stop receiving after the comma

I need a textbox to stop receiving values after the comma as soon as I hit 2 houses. For simplicity, think that the text has a border after the comma, but none before it. Example: Enter the number 2.99. Therefore, whenever the user trie...
asked on 10.06.2016 / 17:33