Interesting questions
-
0
votes1
answer26
viewsstart with 9 in front with jquery
I have this code that gives me the phone mask, but I can’t get the input to start with the 9 in front, preventing the user to delete it, making it mandatory. Does anyone have any idea what to do?…
-
0
votes0
answers131
viewsCode runs in eclipse but not when compiles
I’m creating a mod for Minecraft that uses Jruby to run my scripts within the mod. It runs perfectly in the eclipse, but only in it. If I Compile the mod or rotate by gradlew runClient it does not…
-
-1
votes2
answers464
viewsHow to sound (beep)? - Xamarin Forms
I need to sound (beep) on the Smartphone to get the user’s attention, I’m testing only by a button initially. The codes I have tested only gives error, the last is being link here. What I did I…
xamarin-formsasked 7 years, 9 months ago Deivid Souza 407 -
0
votes2
answers208
viewsWhen no file is found, you should skip to the next step (Spring Batch)
I’m using Spring Batch. In my Job, I have several steps, and they all read from a file. csv. The problem is as follows, there will be times when the file . csv will not be in the available location…
-
48
votes4
answers3512
viewsWhat do reticence in the parameters of a method mean?
I was looking at some methods of the package classes javax and some of them have signature similar to this: protected void doInBackground(String... params){} What does that mean " ... " ?…
javaasked 11 years, 4 months ago Renan Gomes 19,011 -
1
votes1
answer90
viewsAuthenticate AJAX Request - PHP
Using as example the request below and using as parameter the id, I got the return as expected Ajax let id = 1; $.ajax({ type: 'GET', async: false, contentType: 'application/json', url :…
-
1
votes1
answer70
viewsPHP - Sessions and cookies
I have a page login.php which after being filled goes to the processa.php and then enter the session and cookie: $cookie_name = "Administrador"; $cookie_value = $id; setcookie($cookie_name,…
-
-1
votes1
answer1409
viewsHow to create a tree with n children per node?
I would like to know how to implement a tree where each node can have n children? As in the example below: Only in case the nodes would be an instance of a class. EDITED I’m trying to do this with a…
-
-5
votes2
answers83
viewsI can’t change the icon and text inside a button
Personal how could I make a button that changes text and icon when clicked? and click again return to the original button? could help me function mostrar(e) { if…
-
2
votes1
answer40
viewsHow do I create a label of a given name within a <option> in a <select>?
I’m looking to make a legend within an attribute <option> create a label with the name of a product, how do I properly display this label? The error is in the line inside the attribute…
-
3
votes1
answer66
viewsAnchor with Javascript
I have this code: $(function() { $('a[href*=#]:not([href=#])').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname ==…
-
0
votes2
answers86
viewsChange type of return
How do I change the return type of a mother class function in the daughter class? For example: class Mother { public: void Get() {} }; template <typename Type> class Child : public Mother {…
-
1
votes0
answers165
viewsMerge days into a calendar like Google Calendar
Good afternoon Guys, I have a calendar in php, which looks for information in the database. And I would like the inserted commitments to be merged from the beginning to the end of the same. Like…
phpasked 9 years, 7 months ago Eduardo2222 11 -
2
votes1
answer72
viewsProblem with margin-top css
I’m trying to put a margin on my table, I did so: .tab_dados {margin-top: 10px;} And it works, the problem is when I put an input on top of it. It sticks to it. What can be? .form-group {…
-
0
votes1
answer35
viewsHow to search a mysql table with two filters?
I have a page where it returns a table from my database, but as this table receives several data I am trying to set up a filter for it, I made a form and from it a filter, follows example: $busca1 =…
-
0
votes1
answer18
viewsion_auth codeigniter library
Good afternoon Devs! I’m cloning a Github system to take advantage of some of the code. The System already come with Adm login inserted in the database, but do not know the password. I want to…
-
-3
votes1
answer178
viewsHow many classes can we have in one package?
How many classes can we have in a single package?…
-
3
votes1
answer251
viewsproblem with unnest_tokens()
I am a linguist, I work in text mining and I am trying to import a novel (200 pages of text linearly written with line breaks) for analysis in R. Several errors occur. First I tried:…
rasked 7 years, 3 months ago user135517 -
1
votes0
answers52
viewsMove to ul empty sortable jQuery
I have a page with 3 ul sortable, I can’t move the div to empty ul, they could check my code. In the example image I cannot move the content of the div Prospect to the empty ul Negotiation and…
-
1
votes2
answers15896
viewsHow to stop an execution in Python?
I’m starting programming in Python and would like to know how to stop the program execution? In the language C for example, there is the equivalent command system("pause"). If I open IDLE, more…