Posts by Felipe FM • 173 points
11 posts
-
0
votes0
answers123
viewsQ: Get id plus value entered by user
I am mounting a table via Javascript as follows: itens += '<table border="0" class="table table-hover ">'+ '<thead>'+ '<tr class="table">'+ '<th style="text-align:center;"…
-
3
votes1
answer1658
viewsA: Decimal place - Jquery
You can use the .toFixed(2) var num = 5.56789; var n = num.toFixed(2); //5.57
-
1
votes1
answer1299
viewsA: Date is not "blank" sql-srv
When you send an empty field SQL Server does not understand what you want, so it puts a date by default. You have two exits in my view right now. 1) Perform a test in your application, when the…
-
2
votes3
answers1231
viewsA: How does the Oracle Express Edition database work?
Understanding the behavior of a COMMIT Any transaction is usually initiated by an application or user. During the execution of a transaction, data changes and therefore buffer (memory) changes are…
-
1
votes1
answer1485
viewsA: Performing AD (Active Directory) query with PHP
I managed to perform the query, see how was my code: $filtro = "(&(objectClass=user)(objectCategory=person)(displayname=*)(sAMAccountname=$login1))"; $mostrar = array("samaccountname"); if…
-
2
votes2
answers315
viewsA: Shell script with no return function
I asked the same question in the English version and I received the following reply:! https://stackoverflow.com/questions/31979174/function-shell-script-no-return-data/31979644#31979644 I leave it…
-
2
votes2
answers315
viewsQ: Shell script with no return function
I have the following function: function ping { nome=$(dialog --title "inform o endereço que deseja PINGAR" --inputbox "IP ou URL - \ Lembrando que será disparado 10 pings para o endereço informado."…
-
1
votes1
answer1485
viewsQ: Performing AD (Active Directory) query with PHP
Currently I have in here in the environment the AD (Active Directory) from Windows Server 2012. Today in my PHP application I can already connect to this AD via ldap_connect + ldap_bind. But I would…
-
2
votes2
answers59
viewsQ: Create id’s dynamically
I am currently creating the element in this way: $ss = '<input id="link" class="link[]" title="SS" type="image" src="../cancel.png"/>'; My JS, is that way: $("#link").click(function(){…
-
-1
votes1
answer3353
viewsQ: Opening new page and then running header
I currently have a button (print) that performs a Submit in the form (since I need some fields that are in this form). This in turn executes the code that is in the action, where I have the…
-
0
votes1
answer1867
viewsQ: Ways to create combobox using AJAX to fill
Currently I have a normal HTML combobox: <select name="nomeCombox1" id="nomeCombox1" class="select"> <option value="0" selected="selected">Selecione box1</option> <?php $res =…