Interesting questions
-
0
votes1
answer128
viewsForce user to mark custom taxonomy in Wordpress
Staff would like to know if you have how to force the user to mark at least one custom taxonomy in Wordpress? Ex: In a post I have custom taxonomies, I would like to oblige the user when entering…
wordpressasked 11 years, 8 months ago Mateus Carvalho 1,494 -
0
votes2
answers643
viewsDisable button during javascript processing c#
I have the following Asp button: <asp:Button ID="btnOk" runat="server" AutoPostBack="true" CausesValidation="true" ClientIDMode="Static" Text="Ok" Width="80px" OnClick="btnOk_Click"…
-
3
votes2
answers6278
viewsHow to make a form that accepts photo upload and save to database
I created a database called Form and table with the following information contatos (id int A.I, nome varchar(30), idade int(2), foto(blob) I made that standard form: <!DOCTYPE html>…
-
1
votes0
answers323
viewsCreate Chrome Extension with PHP script
Hey guys I made an extension for Chrome only with a basic html and it worked super good. The problem is when I changed the main file from . html to . php in order to put my logic that I need php.…
-
0
votes2
answers45
viewsAdd Mil separator to a number animated by jquery
I wonder if you have any different way to add the number separator in the Jquery form? Example: Current: 2000 Correct 2000 https://jsfiddle.net/ymxdq980/3/…
jqueryasked 7 years, 7 months ago Betina Silva 3 -
6
votes2
answers10617
viewsHow to change image when clicking?
I have a work course and I had the following idea: There are several images that will represent the chairs of a cinema (all are the same images, the same are in my HTML file), and I want to make the…
-
1
votes2
answers718
views -
2
votes0
answers78
viewsRound up Javascript decimals
When calculating 5,605.50 * 0.08 (8%) the result is 448.40000000000003 I need to round off that 448.40000000000003 for 448.44 which is the exact 8% value on the calculator... if I use the…
javascriptasked 10 years, 8 months ago Luiz Fábio 333 -
1
votes1
answer253
viewsWhat is the best way to store a multi-valued item
When issuing a NF-e it is possible to insert up to 990 products/items per document . Each product has several attributes. What would be the best way to store and link each product, and its…
mysqlasked 8 years, 9 months ago lucasbento 856 -
2
votes1
answer97
viewsJson does not return data to Javascript
I have the following code in PHP, but it does not return the data to JAVASCRIPT. Type it does not return any information: <?php require_once("conexao.php"); $sql_nao_lidas = @mysql_query("SELECT…
-
0
votes0
answers269
viewsvba runtime error '-2147221164 (80040154)': Unregistered class
i made a class library in visual studio 2019 using the . NET framework which is registered for COM interoperability and generates a file (.tlb). It was programmed in VB.NET and has a simple class…
-
1
votes1
answer243
viewsRuby test Capybara encoding UTF-8 does not work
I created a new test project, using Ruby and Capybara for studies and I don’t understand why it’s not working. I have a very similar project on another PC, same configuration, the difference that…
-
0
votes1
answer4365
viewsInstruction similar to system("cls") in C
The program I am doing works as follows: Whenever an incorrect value is typed, I want the program to warn that the value is incorrect, and soon after clear only the error message so that the user…
-
0
votes0
answers52
viewsHow to correctly fill rows and columns using React datasheet?
I’m using the react datasheet to export and import data by pasting into my application tables. I expect all columns and rows I copy to be pasted normally. However, only one row and two columns are…
-
0
votes1
answer1146
viewsSending Email Via Proxy - Javamail
This is my code: (UPDATED 2) I updated my account. I allowed access by external apps and then it worked !!! PS: but I had to make some of the suggested changes. So I marked the answer below as the…
-
0
votes1
answer126
viewsHow to add an icon showing that that item has already been read, being saved the preferences using Sharedpreferences?
This is a part of the app’s home menu: Home Screen The image below represents the initial screen of the application, which has the buttons "how to use" and "Introduction to dynamics", for the user…
androidasked 9 years, 4 months ago Tony Álaffe 92 -
0
votes1
answer311
viewsIreport and php 7.0
Good afternoon, you guys! I use Ireport to generate reports, in php 5.6 it works well, and very well by the way, but in php 7.x. x it shows the following error when trying to generate a report:…
-
0
votes1
answer138
viewsPass variable in UPDATE PDO PHPERRO: Pdostatement::execute(): SQLSTATE[HY093]
@$c_matricula = $_POST['numero']; @$data_aa = $_POST['data_aa']; @$data_ff = $_POST['data_ff']; if(isset($data_aa)){ @$dataa = date("Y-m-d H:i:s"); $pdo = $dbconn->prepare("UPDATE contato SET…
-
0
votes0
answers26
viewsValues post in a Listbox without being selected
It is possible to make a Post of the values of a Listbox without them being Selected? My Listbox: @Html.ListBoxFor(m => m.SelectedCatequistas, new MultiSelectList(ViewBag.SelectedCatequistas,…
-
0
votes2
answers163
viewsChange class attributes from generic method
I have a class with many attributes and would like to be able to change these attributes from a generic method where you must pass the name of the attribute to be changed and the new value. class…
python-3.xasked 7 years, 7 months ago CodexZombie 89