I'm messing with an application made in Ionic. In it, when I search for a photo in Google and select it, the field name is filled with the word that made the search. Now, when I select an image from my phone, the field to put the name is already...
Hello, everyone. I have a problem retrieving an object, it follows my situation:
How do I do:
$scope.data = [];
for(var i = 0; i < 5; i++) {
$scope.data.push(i);
}
// Result: [0,1,2,3,4]
Result I need
[[0,1,2,3,4]]
W...
I have a code in javascript (jquery) and it performs a function when I move the scroll of the mouse, however, it executes the function several times when I go around the scroll. He did not want this to happen, he wished he could only run again a...
I'm using a script that was posted here in stackoverflow, which is to limit the display of the posts accompanied by a 'show more' link, so that it loads another amount of posts.
Follow the LINK
Note: If needed, I put the complete code here in...
I am trying to format a decimal value so that it is always sent in this format: 00.00, I have an example in this site link
If you enter 20.10 = 20.1 (you want it to look like 20.10)
if you enter 15.00 = 15 (you want it to stay 15.00)
&...
Hello, friends.
I am a beginner and would like to know how I apply this effect in a fixed menu (for desktops) so that when the user navigates to the following section (after section #home) a background appears in the menu and it have position...
I'm doing a login screen with Ajax, jQuery and PHP.
Follow the code:
$(document).ready(function(){
//Quando 'btnEntrar' for clicado
$("#btnEntrar").click(function(){
//Envia por POST para a página login.php: us...
I have the following image below
andeachcheckboxcorrespondstothevalue<inputtype="checkbox" value="3" class="serie2" id="serie2[3]" name="serie2[3]">
<input type="checkbox" value="4" class="serie2" id="serie2[4]" name="serie2[4]">...
Hello, I'm adding rows from a table (tblformacao) using javascript and in this line I add an input and I'm listening to the onchange (.upload) event, however it does not fall into the method. When I switch to onclick it works. Can anyone tell me...
Recently in a project, the need arose to create a system that can be evaluated by the user, and in this case, only the "favorite" was requested. The user will only click on the "heart" and +1 will be added to each click. But without the use of p...