Posts by Bruno • 381 points
15 posts
-
4
votes5
answers786
viewsQ: Can I make a Javascript call through PHP?
I’m in a doubt ... I have a PHP code, and when it reaches the "end of it" I would like to call a Javascript! Ex: <? .... sucesso('$a','$b'); ?> <script language="javascript"> function…
-
0
votes2
answers170
viewsQ: Problems in PHP call
I’m having a problem calling a show by PHP passing parameters. Code: <? print("<script language=javascript> alert(\" <<< Dados Alterados com Sucesso! >>>\"); if($w_rec !=…
-
1
votes1
answer180
viewsQ: Doubt on function . length
In my case I’m picking up how many records are within the variable. But the function .length determines that when there is only one record it is undefined, it should show that there is a record in…
-
2
votes3
answers1803
viewsQ: How to take the result of select and mount HTML?
My problem is : I have a field initial date and a field final date and on my table a field date. The user will enter a start date and a end date, and in the database I check if you have data…
-
3
votes2
answers54
viewsQ: Is it possible to check the fields?
My problem is, "I have one array which stores data from duas combos. In a combo i add "P" and then the entered value. Ex: P111111111. And the next I add at the beginning "S" and it gets S11111111.…
-
2
votes1
answer118
viewsQ: How to search and show data
Well. I need to do a search in one table and through this search pull the data from another. But I ended up getting lost in logic ... Example of what I’m doing: The user informs the data he wants:…
-
7
votes3
answers151
viewsQ: Doubt in select de sql
So ... I have a table that has a sequenc, one num, one dt_inicial and a dt_final. My question is: how to make one Select that takes the data between the dt_inicial and dt_final showing the num among…
-
7
votes3
answers1242
viewsQ: Transforming jQuery code into Javascript
I have a problem similar to that : Insert text - Stack But in my case I need the code in pure Javascript and I have no idea (novice in Prog. web) how to change from jQuery that they gave as a…
-
1
votes2
answers230
viewsA: Passing the text of the JS fields
Thanks for the help @Brunoaugusto! But I found a more "efficient" way to show the name! var marca =…
-
-1
votes2
answers230
viewsQ: Passing the text of the JS fields
Well, I pass the data of my fields via JS (their codes)! Example in JS: function f_veri_dados() { w_form="sai_frm_incl_novo_cara_peri1"; // Periferico do programa anterior w_param =…
-
0
votes2
answers153
viewsQ: Can you perform a reset when accessing the page?
I wonder if you have a way to execute <input type="reset"> when a page is accessed, without having to click any button!
-
1
votes2
answers23140
viewsQ: Change RG mask
The RG mask comes with a different pattern in which I need! RG code: function Rg(v){ v=v.replace(/\D/g,""); v=v.replace(/(\d)(\d{4})$/,"$1.$2"); v=v.replace(/(\d)(\d{4})$/,"$1.$2");…
javascriptasked Bruno 381 -
3
votes1
answer277
viewsQ: Doubt in strcmp
I’m in doubt on a line of code: if(strcmp(novo->nome,aux->nome)>=0) How does your comparison occur? Being that the name is a char!
-
1
votes2
answers95
viewsQ: User verification
I have a program that has 5 níveis de autorização, the Administrador, Gerente, Operador, Usuário and Convidado. But for each level it gives a different access to the system. Sketch of verification:…
-
2
votes1
answer289
viewsQ: Exclusion involving Java and SQL
The program I’m doing requires a deletion of users from the bank! In the code I determine: Menu: static private void Excluir(Connection con) throws SQLException { String cpf; Scanner s = new…