Posts by Fernando Alves • 106 points
3 posts
-
7
votes2
answers8986
viewsA: Function to mark/deselect checkbox, jquery
In this way: $('#btn').click(function(){ if($( '#mycheckbox' ).prop( "checked" ) == true){ alert('desmarcado') $( '#mycheckbox' ).prop( "checked" , false) } else { alert('marcado') $( '#mycheckbox'…
jqueryanswered Fernando Alves 106 -
1
votes3
answers823
viewsA: Assign array type in PHP
Actually there is a way to type php even though it is dynamically typed. Take a look at this link http://php.net/manual/en/function.settype.php To type php you must do so: settype($foo, "integer");…
-
1
votes3
answers3002
viewsA: Dynamic search in real time
You should do something like this every time the user types something, like in this example picking up on real team what is typed Done this you must on the server side bring results, on the return…