Posts by lucasDotCom • 727 points
18 posts
-
2
votes1
answer41
viewsQ: SVN does not check Branch changes
I created a branch from the trunk, and made all the necessary changes. When I finished the changes, using Visual Studio 2015 I merged the branch with trunk. I was settling conflicts when I was wrong…
-
-1
votes2
answers90
viewsQ: Popular select with result plus a null element
I have a method that invokes the view as follows: return view('auth.register',[ 'teachers' => $this->user->mentors()->lists('name','id'), ]); And in the view, the select using {{…
-
0
votes2
answers76
viewsQ: Split arguments with regex
I have difficulties with regex. I just need to split an input string. Input: "arg1 arg2 arg3 arg4"; Output: [arg1, arg2, arg3, arg4] Input: "arg1 'arg 2' arg3 arg4"; Output: [arg1, arg 2, arg3,…
-
1
votes0
answers12
viewsQ: Adding a function with the prototype to create a chain of functions
I want to see how it works. I create a function like this: function $( selector ){ return document.querySelector( selector ); } How do I create a function addClass() to use just like jQuery…
javascriptasked lucasDotCom 727 -
1
votes1
answer200
viewsA: Dynamically increase height and width
It is not the DIV that is cutting, but the SVG that is with the attribute height="42" and ends up cutting the graph.
javascriptanswered lucasDotCom 727 -
1
votes2
answers994
viewsQ: Simulate click without directly calling the function
Using pure javascript, I wanted to click a button and trigger its events, but the important thing is that I don’t want to call the function directly. So far I’ve tried it: var send =…
javascriptasked lucasDotCom 727 -
1
votes1
answer2178
viewsQ: Custom marker on Google Maps
How do I embed Google Map but with Custom Marketer? Do you have any public Google Maps Apis (which do not require access key)? Currently I need to include "whole" API, just to run the operation to…
-
0
votes0
answers44
viewsQ: Stop scope until change input value
I have a form, where a captcha is valid via json: $.getJSON('?verify&string=' + captcha, function( content ){ if(content.comparation){ $("#tokenCaptcha").val(content.token); }else{ complete =…
-
1
votes1
answer21
viewsQ: Merge array only into empty values
I have a function that takes as parameter an array, for example: $args = array( "foo" => "value" ); oneFunction( $args ); function oneFunction( $array ){ $default = array( "foo" => "foo",…
phpasked lucasDotCom 727 -
0
votes1
answer47
viewsQ: Query MYSQL with WHERE clause predominance
I have the following query (after all logic, ie the final query) SELECT * FROM cl_assistance AS CA LEFT JOIN cl_assistance_rel AS CREL ON CA.cod_assistance = CREL.rel_assistance WHERE latitude…
mysqlasked lucasDotCom 727 -
1
votes1
answer582
viewsQ: CKEDITOR settings override other settings
On the same page I have 2 texarea. Since one of them is to be small and the other standard. The pattern has autogrow and the small arrow maximum height of 100px. The problem is that one…
ckeditorasked lucasDotCom 727 -
4
votes1
answer36
viewsQ: A constant eventListener, or almost that
I was always in doubt when to this, because I remember that I took my test with ajax, and every time I updated, I lost the registered event. Example: A list of names <script>…
-
13
votes1
answer10368
viewsA: How to use facebook API?
So, friend, I waited a long time and saw that no one answered. I’ll help you, because coincidentally, I had to create a similar app a few days ago. Facebook Graph is a Facebook API, for developers…
-
24
votes3
answers2397
viewsQ: Why does "Return false;" in a click event cancel the link opening?
Why the return false prevails over, for example, a href? We have as an example this code: <!DOCTYPE html> <html> <head> <title>Uma página linda</title> </head>…
-
1
votes2
answers787
viewsA: Receive id from an autocomplete option
If you try to quote the value of "name"? $("option[name='ent'] :selected").attr('id'); Edited: Alias, if you do function dadosCliente(){ $(this).val(); } won’t work better? Edited 2: The "only"…
-
0
votes1
answer270
viewsQ: What is the concept that involves the tools/workflow front-end?
Shortly after I started working in this branch I had contact with the terms front-end and back-end, but only recently, I had greater contact with the tools for workflow (Bower, Less, Sass, yo, GIT…
-
9
votes1
answer164
viewsQ: How Google Analytics Works
How can Google Analytics verify the origin of the click? How the API knows the keywords that originated the Google search (which reached the site)? Those doubts have haunted me for years. If anyone…
-
0
votes1
answer712
viewsQ: Wordpress version compatible with PHP 5.2.17
Looking for a Wordpress compatible version of PHP 5.2.17. I already scanned the site, but I do not find requirements of old versions. My last attempt was with Wordpress 3.8.