Posts by Bernardo Dal Corno • 123 points
5 posts
-
-1
votes1
answer725
viewsA: ERR_SSL_PROTOCOL_ERROR - Socket.io and Node.js
Explicitly tries to put SSL security on the client side: var socket = io.connect('https://localhost:PORTA', {secure: true}); Checks if you are using https on the client side…
-
0
votes1
answer50
viewsA: Receive correct $index after filter use
To use the special property $index you have to add the expression track by $index at the end of ngRepeat: <li ng-repeat="item in list | filter:query track by $index">…
angularjsanswered Bernardo Dal Corno 123 -
0
votes1
answer297
viewsA: Using Angular "track by $index" with paging, filtering and sorting
When you use Smart Table, the directives st-sort and st-search do the job for you - you don’t have to include the filter and orderBy of ngRepeat. I wouldn’t have to use the track by, since this is…
-
0
votes1
answer38
viewsA: Acordion Bootstrap - link to access
Associate the link click to an event via jQuery: <a id="expandir3" href="#"> $('#expandir3").click(function(e){ e.preventDefault(); $('#collapseThree').collapse('show'); });…
-
1
votes1
answer87
viewsA: Overlay a cursor on two Ivs
If you scroll the div "cursor", you will see that only the first pair of cursors is moving, the second is stopped where it was created. This occurs because in the function onmousemove Voce uses the…
javascriptanswered Bernardo Dal Corno 123