Most voted questions
150,413 questions
Sort by count of
-
4
votes1
answer2364
viewsHow to notify the tracking of the post office to the user?
I own a eCommerce which are part of Post office, except the tracking system which only includes the tracking code in the order. I need every change in status to notify the customer via email. With…
-
4
votes3
answers1766
viewsHow do I get the column number of the table where an input I’m writing is?
I have text inputs in cells of a table. <table> <tr> <td>Bola</td> <td>Casa</td> <td>Arvore</td> </tr> <tr> <td><input…
-
4
votes1
answer40
viewsIn Jade, how can I suppress the error if a variable does not exist?
I’m trying to create a form to create a user, but I use the same form to edit. When I try to create a new user the app shows me an error because in the form fields it tries to get information from a…
-
4
votes3
answers1701
viewsHow to represent "is-one" relationships in the logical model?
I’m creating a data model where a client entity is also a person, legal or physical. However, in the state in which it is found it will not be possible to implement it physically, because I am not…
-
4
votes1
answer199
viewsWhat is the reference of C++?
class Data { int d, m, a; public: void inic(int dd, int mm, int aa); void soma_ano(int n); void soma_mes(int n); void soma_dia(int n); }; void timewarp(Data& d) { } From what I understood the…
-
4
votes1
answer139
viewsfrom sql server to mysql with php
I have a bank SqlServer and I need to send data from a table to a Mysql database via php script. OPENQUERY will result within the condition I have (php script)? What’s the best way to do it? The…
-
4
votes1
answer600
viewsHow do I know if a client is accessing the server over the local network or the internet?
How do I identify if the client who is accessing my application, whether it is within the company (local network) or outside (internet)?
-
4
votes1
answer105
viewsList three-dimensional table
I have a table that I intend to print out all your values. Example: local table_2 = { ["tabela1"] = "360Mhz", "demo", "teste", ["tabela2"] = "360Mhz", "demo", "teste" } for k,v in pairs(table_2) do…
-
4
votes1
answer1705
viewsLimit the number of characters of javascript decimals
You can enter values into an input text. What happens is that I want to limit the number of characters after the point. Valid example: 2.324 2343423.432 That is, the user cannot enter more than…
-
4
votes2
answers1076
viewsFormat decimal in monetary value
Which plugin or logic I can format values monetary returning from the bank dynamically?
javascriptasked 9 years, 2 months ago Al Unser Albuquerque 73 -
4
votes1
answer928
viewsHow to show table in return JSON?
Accurate, when returning from an insert pass parameter to a page and load it into a div specific, I tried something like this: var formData = new FormData(this); $.ajax({ url: formURL, type: 'POST',…
-
4
votes3
answers441
viewsWhy is it not very common to use do/while?
I don’t know if this occurs only in PHP, but I realize that it is not very common the use of do/while in the codes written on it. Example: while (ob_get_level() > 0) { ob_end_clean(); } That (I…
-
4
votes2
answers655
viewsProblem Migrating Mysql Database to SQL Server
I am unable to migrate a database from Mysql to SQL Server using Mysql Workbench Database Migration. In SQL Server authentication, it uses sa login, I tried to reset the password of this login, but…
-
4
votes1
answer360
viewsMake text editor with syntax Highlight
How can I make an Highlight syntax HTML system for a text editor? I thought of using a tag <pre> with the contenteditable="true", then using Regex I would replace the syntax of contentText,…
-
4
votes1
answer502
viewsAuthenticate user efficiently and quickly (without setbacks, Identity x Manual)
I need to create a system amusing using a validation (user, password). I have experience with Webform, I started already studied a little MVC but still don’t feel safe to create a complete…
-
4
votes1
answer1060
viewsHTTP 500 error using Httpwebrequest
I come here to ask for help regarding Httpwebrequest requests. I need to get the return html of an HTTP 500 (HTTP/1.1 500 Internal Server Error) error. Could someone tell me how it could be done?…
-
4
votes1
answer799
viewsHow to create POST, PUT and DELETE method in Grails application?
I have a Grails 2.4.2 application that I want to communicate with another application, and this interaction should occur through a Rest service provided by Grails. Today as it is implemented just I…
-
4
votes2
answers1558
viewsGlobal variable query in a controller
I have a method in my controller that is called through ajax. It populates a global variable within that controller. Is there any way I can access this global variable already populated by the first…
-
4
votes3
answers3438
viewsHow to receive a pdf file via ajax?
I am using this method to return a PDF file. It works normal if I call this action directly via URL: public ActionResult GerarProva(int idEpo, int numero, bool existeProvaGerada) { try { var…
-
4
votes1
answer315
viewsIs there any possibility of performing a javascript action after the end of a download?
I have a link to a PDF on my site. I would like the page to enable another button at the end of your download. But the question is: this is possible only with javascript/jquery? If yes, how would it…
-
4
votes1
answer215
viewsWhat is the best way to display in Python? Double asterisk or Math.Pow?
How to best expose in Python? I must use the operator ** or math.pow? Example math.pow: > math.pow(3, 4); #Imprime: 81.0 Example with double asterisk? > 3 ** 4 #Imprime : 81 What I must take…
pythonasked 9 years, 2 months ago Wallace Maxters 102,340 -
4
votes1
answer1716
viewsValues within a given range
I want to make the following formula but I’m not getting it. I don’t know if it’s with =SE(), but what I need to know is whether a value lies within a range (from 1 to 2) or not.…
-
4
votes1
answer957
viewsHow to save text in XML or txt or HTML file?
I am developing a program in C# and would like to know how to save the text of a RichTextBox format .xml or .html or .txt.
-
4
votes1
answer341
viewsHow to add data to a list whenever a <p:hotkey> is used?
I have a <p:hotkey> which is the Primefaces component for working with shortcuts. Every time I press Ctrl + 1 two new fields appear on the page but I would like every time I press this…
-
4
votes0
answers286
viewsHow to upload with Bootstrap Dialog
I’m trying to adapt a script I have to upload with Bootstrap Dialog but I’m not succeeding, I wish I could use the same form that I already do some operations to maintain the development pattern, I…
-
4
votes1
answer766
viewsI cannot change the state of an Entry() widget in Python and Tkinter
In my code, my Entry() the state is originally as DISABLED. To enable entry, the user would need to mark one of the checkbuttons. Well, at least that’s the idea. What happens is I mark one of the…
-
4
votes1
answer170
viewsHow do I send variables to another page on Windows Phone 8?
I tried to follow that method, but there is an error in Mainpage, saying that the NavigationService does not exist in the current context. In Blankpage, the same error occurs in NavigationContext.…
-
4
votes1
answer201
viewsPick up selected Radiobuttons in WPF
I have several radiobuttons on my form, each with a content different. How do I catch the radiobuttom selected? Without having to do a método to check one by one.…
-
4
votes1
answer930
viewsHow to authenticate on site via Httpurlconnection to access the JSON method?
I have an Android application that must request a JSON from a web application, however to have access to the method it is necessary to login to the site. How do I perform this identification via…
-
4
votes1
answer1289
viewsPost typing effect on placeholder
Guys I’m trying to add a behavior to a placeholder but I’m not getting it. On the website of ticket with. when the user enters a value in the placeholder forml some and a small label appears above…
-
4
votes3
answers785
viewsHow can I make a query with LIKE or REGEXP ignoring table words?
I have the following data in a table ------------------- **usuarios** ------------------- nome ------------------ Wallace de Souza Vizerra ------------------------ Gustavo Carmo da Costa I need to…
mysqlasked 9 years, 2 months ago Wallace Maxters 102,340 -
4
votes2
answers141
viewsHow to bulk assign variables in Python?
In PHP, to make a variable assignment "bulk" (declare it on the same line), we can do using the function list. Example: list($a, $b, $c) = array(1, 2, 3); How to do this kind of bulk assignment in…
pythonasked 9 years, 2 months ago Wallace Maxters 102,340 -
4
votes2
answers5048
viewsHow to make a progress bar with steps?
How could I make a step progress bar using Html5, css3 and js? An example to clarify what I need to do: I prefer to do it from scratch, but is there any library ready for it?…
-
4
votes2
answers257
viewsSimulate browser without HTML5 support
I am developing a website that can be opened in a browser without HTML5 support (canvas, etc). I would like to perform tests, just change the User Agent or there is a specific tool?
-
4
votes2
answers71
viewsGet null fields from the database with LINQ
I have a table of Gestor in the database where you store information of a user with Manager profile. In this table, I have two FK's: uniaoId and schoolboy. Well, that manager MUST belong to a union…
-
4
votes1
answer315
viewsHow to use Javascript JSON to recover C result?
I learned that JSON is used to communicate between systems. So it is possible to communicate with C, recovering variables through a JSON generated by the code and sending through the Javascript AJAX…
-
4
votes3
answers1481
viewsHow to create a mini database written in php using a text file in json format
I was in need of a personal mini database written in PHP to store some internal data of my site, where I would create new properties, change them and delete later if necessary. In the example below…
-
4
votes3
answers3464
viewsAverage between 3 direct dates in sqlserver bank?
What is the most efficient way to calculate the average of dates in the same column by the sqlserver database? I need to take the date of the last 3 sales of a customer, and return in days to know…
sql-server sql-server-2012 sql-server-2008 sql-server-2014 sql-server-2005asked 9 years, 2 months ago Laísa Ferreira Cardoso 116 -
4
votes3
answers580
viewsHow to keep a web project in sync with a remote server?
I would like to know the best practices of keeping a web project up-to-date on a remote server. I am starting a web project where I need to keep it on a remote server, and from my local server I…
-
4
votes1
answer366
views -
4
votes3
answers392
viewsHow to open remote content with python?
In PHP, when I want to get a remote content (some url, for example), I use my own functions to open files and it works perfectly. Example: file_get_contents('/') And in Python, what is the correct…
pythonasked 9 years, 2 months ago Wallace Maxters 102,340 -
4
votes1
answer618
viewsSQL 2012 - replace (nolock) with(nolock)
I need help solving a mismatch problem. The company I work with is migrating from an SQL Server 2008 database to 2012, but we have identified some problems. The main one is the declaration of…
-
4
votes1
answer51
viewsAdware in my project
Good morning, I have a project in Visual Studio 2013 using Entity Framework, so far so good, but suddenly when I was running it appeared Ads (Advertisements) in it, a few squares with multiple ads,…
visual-studio-2013asked 9 years, 2 months ago jp_almeida 329 -
4
votes4
answers966
viewshyperlink mailto on button
I have an HTML hyperlink to send an email through the mailto: <a href="mailto:[email protected]?Subject=Hello%20again" target="_top">Send Mail</a> The problem is that in the source…
-
4
votes2
answers727
viewsHow to display a hidden CSS select using Javascript
I have a contact form on a decoration site, except I’m looking to perfect it by putting a select only hidden, Example, my request form, Name, E-mail, Telephone Area Code, Event Date and Decoration…
-
4
votes3
answers933
viewsScript swap image every Reload
I have 5 banners on the home, and would like each home shipment to display one of the banners. Ex: I stopped the site and displays the banner 1, navigated some page and returned to home displays the…
-
4
votes1
answer74
viewsComment equal #Region from Visual Studio
There is similar comment #region Visual Studio in PHP with Netbeans?
-
4
votes2
answers21648
viewsImage alignment with CSS
I have a div that contains another div within, but this second div (from within) contains a <img src="">, how can I do to leave this div with the image aligned in the center of the first div?…
-
4
votes2
answers1552
viewsSQL query with array type in Postgresql
How to filter this field of type array in Postgresql? I have a table X with a field Y of the kind character varying[] with two records: {'meeting','lunch','training','presentation'}…
-
4
votes4
answers4345
viewsStop and restart setInterval function
I have a javascript function that starts a chronometer. I want to be able to stop, and start again (reset). example jsfiddle: http://jsfiddle.net/fk2unkb9/2/ var countms = 0; function start() { var…
javascriptasked 9 years, 2 months ago akm 3,387