Posts by Marcos Web • 15 points
4 posts
-
0
votes1
answer243
viewsA: Error making a javascript API post
Your php header needs to allow access from the other domain: header('Access-Control-Allow-Origin: *'); // qualquer domínio or for a specific field: header('Access-Control-Allow-Origin:…
-
-1
votes3
answers182
viewsA: Radio enabled field, bank checked
$(function(){ $('.radio input').change(function(){ if ($(this).val() === 'J'){ //... } else { //... } }) });…
-
-1
votes3
answers367
viewsA: Search field with php and mysql. How not to differentiate special characters?
You need to convert the database data and variables into lower case (or upper case), before making the comparison: WHERE (LOWER(produtos.nome) LIKE LOWER('%".$texto."%') collate latin1_swedish_ci OR…
-
1
votes4
answers13140
viewsA: What is the difference between operators '==' and '==' in Javascript?
== test if it is equal === test if it is the same and of the same type