Posts by onluiz • 368 points
10 posts
-
1
votes0
answers34
viewsQ: Audioinputstream.close() not working (Unable to delete file)
I’m having a problem with an Audioinputstream. After making the adjustments I need, I give a AudioInputStream.close() (equivalent to InputStream.close()) so I can delete the file later. But in doing…
-
2
votes3
answers290
viewsA: How to fix this function, if I type something appears the same thing when I type nothing
Opa, if you just want to force the user to enter something in the field you can use required in the field you want it to be mandatory, when he try to submit the form appears the mandatory message:…
javascriptanswered onluiz 368 -
3
votes1
answer910
viewsQ: Implement Lambda Expression TRUE, FALSE, AND, OR and NOT with Javascript
I was reading about lambda in that article and showed examples of functional programming implementing TRUE, FALSE, NOT, AND and OR with Ruby: T = lambda { |a,b| a } F = lambda { |a,b| b } display =…
-
2
votes1
answer377
viewsA: How to use ajax inside a Sweetalert?
I don’t know exactly how this sweetalert works, but I rewrote the function correcting some syntax errors and changing a little ajax to have a successful callback or failure: function(isConfirm){ if…
-
0
votes4
answers791
viewsA: Taking data via ajax
Whoa, try this on: var acao = $(".acao").html();
-
0
votes3
answers2014
viewsA: Video continues running at close modal
function closeModal() { //código para dar stop no vídeo aqui //use $('#youriframeid').remove(); para forçar a remoção do html do iFrame //caso queira alguma alternativa para parar o vídeo…
-
2
votes1
answer569
viewsA: Multiple modal bootstrap always returning the same content
You are applying html to all Divs with the class .modal-content in his second ajax: $('.modal-content').html(data); Try to change $('.modal-content').html(data); for…
-
2
votes2
answers320
viewsA: Click and "Decrypt" on jquery button
Opa, I saw that the question has already been answered but wanted to contribute an alternative that focuses on the click of your input checkbox, and not on the div: click: every time you click on…
-
1
votes1
answer229
viewsA: Import netbeans projects from Github into Eclipse Luna
Whoa, buddy, all right? I’ve had that problem too and I’m not very proud of the way I solved it, but here it goes: There are some boring files from each IDE that you use that are next to your…
-
6
votes1
answer21697
viewsA: Commands to upload files to github
If the repository already exists it is easier to use the git clone git clone [email protected]:usuario/repositoriogithub.git Done. Make the necessary changes. To upload the files you need to do the…