All Questions

2
answers

Scrollbar Customization

Today, can we only use CSS to change the scroll bar customization of a DIV? If so, how can I do it? Otherwise what is the best script and how to use it?     
asked on 01.10.2015 / 22:38
2
answers

Clear Input When Choosing Another Option

What I want to do The guy has on the form the option to register individual or legal entity. I want it when it clicks on the person's radio, it clears the input from legal person, and vice versa. What I did I feel like a fool. I made th...
asked on 21.10.2015 / 18:02
2
answers

INSERT in two different tables - MySql

I have two tables in Mysql: Alunos: id, nome, idade, email, senha. login: id, email, senha. When I insert to write the information in the alunos table, can I make another insert to write the email and password in l...
asked on 03.10.2015 / 21:04
1
answer

Creating Tabs Correctly on Android Currently

I'm trying to implement in the application that I'm creating Tabs, like this: But when I try to implement, I'm always faced with deprecated classes and methods, such as TabListener , ActionBarActivity and now I'm not...
asked on 03.09.2015 / 01:43
2
answers

Popular a table with form data in angularjs

I am learning angular.js and am having difficulty with the following code var myapp = angular.module("myapp", []) myapp.controller('controller', function reset($scope){ $scope.reset = function(){ $scope.nome = " "; $scope.nota1 = "...
asked on 13.10.2015 / 15:23
2
answers

How to import classes like HttpClient, DefaultHttpClient etc

I've implemented these classes, but I can not import them; the project was done in Android Studio. public class HttpConnection { public static String getSetDataWeb(WrapData wd){ HttpClient httpClient = new DefaultHttpClient();...
asked on 20.10.2015 / 01:14
3
answers

Ask if the user really wants to leave the page?

I have a page where any task occurs, only it needs to be finalized, or every process will be lost. I would like to show an alert, like Facebook and other websites show, asking the user if they want to leave this page or stay in it.     
asked on 16.09.2015 / 20:29
3
answers

How to detect if an element is accompanied by some text with jQuery?

I have a certain div.box that will be repeated several times, and some of them have a link ( a.link ) with a specific class. Example: <div class="box" data-id="1"> Primeiro texto </div> <div class="box" data-id=...
asked on 25.09.2015 / 18:50
2
answers

css files in laravel 4

I'm starting with Laravel and I'm not sure where to put the css files, since there is no assets folder, as it exists in Laravel 5. I need to work with version 4 because the PHP version on the server is old and not I can change. I did not find an...
asked on 15.10.2015 / 13:42
2
answers

Return N elements from a list in jQuery

I have a list of elements, say a list of rows in a table: $('#minha_tabela tr'); Is there a selector, method or overload in jQuery so I can return more than one line passing multiple indexes? Something like, $('#minha_tabela tr').get(0...
asked on 21.11.2014 / 05:21