Posts by Marllon Nasser • 3,845 points
113 posts
-
1
votes4
answers810
viewsA: Validate Javascript fields
It seems that the button that will be changed by checks is the btn_Proximo1. I assume you want to validate the following elements: <input type="text" placeholder="Cliente" id="txtCliente"…
-
1
votes3
answers561
viewsA: AJAX: Send value to php file, query using this value, and returnate a Json array
1) Check to see if there is a declaration of the tag <script>, for your javascript code. Just as if your query returns values and mainly format the query return turning it into Json. 2) When…
-
3
votes1
answer78
viewsA: Javascript Beginner - Feedback Problems
You’re assigning a value (kills = 0) within a if (condition). If you want to compare values, use the ==: if (kills == 0){}…
javascriptanswered Marllon Nasser 3,845 -
1
votes1
answer125
viewsA: How do I validate a value without leaving the page?
A suggestion is to do by jQuery. I made an example for you: Fiddle Basically: $("#valorPorcentagem").change(function(e, j){ var valorDigitado = this.value; var valorProduto = 300.00; if…
-
0
votes1
answer282
viewsA: Entity mapping oneToMany with Fluent Nhibernate
I managed to solve...stay there the solution in case someone goes through the same problem. I wanted to make a relationship between tables without them being indexed by their Pks and Fks.. Follows:…
-
0
votes1
answer282
viewsQ: Entity mapping oneToMany with Fluent Nhibernate
Gentlemen, my problem apparently is simple, I must be doing or forgetting something and I just can’t see the error. Can you help me? I have the class Cliente: public class Cliente { public Cliente…
-
1
votes2
answers1192
viewsA: Data entry in C#database
Make sure the connection string arrives correctly by the class Setting. If it’s okay, the problem is that in your class ClienteDAO you have two instances of SqlConnection: public class ClienteDAO {…
c#answered Marllon Nasser 3,845 -
-1
votes1
answer867
viewsA: Error 403 - the web server is configured not to list the contents
May: Permissions issues in the project folder Permissions issues in project configuration on IIS. Standard file for project listing. If none of this solves, give more details of the problem so we…
-
1
votes1
answer354
viewsA: Error 403.14 Forbidden
May: Permissions issues in the project folder Permissions issues in project configuration on IIS. Standard file for project listing. If none of this solves, give more details of the problem so we…
-
0
votes2
answers514
viewsA: How to consume webservice in a Chrome extension?
I indicate the use of Postman It is complete and must meet your needs. It is very simple and intuitive, but if you need to consult the documentation, follow the link…
-
1
votes2
answers415
viewsA: How to check if Eval has null value?
You can create a public method in the bean to validate: public string ValidarItem(object valor) { if (valor == null) { return "xpto"; } return valor.ToString(); } And no . aspx: <asp:Label…
asp.netanswered Marllon Nasser 3,845 -
0
votes2
answers54
viewsA: Query that returns multiple results
I could not understand the question very well, but apparently the sql operator IN helps you. select * from tabela where id_conta IN (28, 29, 30, 36)
queryanswered Marllon Nasser 3,845 -
2
votes3
answers789
viewsA: Exception in sql query
Try to be as clear as possible in your question. Apparently by SQL itself you solve. $itemcheck = $dbh->prepare("select * FROM itens where id not in (4) ORDER BY it_data DESC");…