Posts by Rubens Pinheiro • 236 points
5 posts
-
1
votes1
answer967
viewsA: Save, Delete and Get in Angularjs
The default for the $Resource angular service is REST. So you should specifically declare the HTTP methods you use if you are not using the REST standard. Default methods of $Resource descritps na…
-
1
votes1
answer145
viewsA: Links to Tabs in Jquery
Since you are using jQuery, you can use the Tabs from jQuery UI. It is very simple to use and already comes with several implemented events.…
-
3
votes1
answer183
viewsA: Force a 200 header in Ajax while the PHP function is in Sleep
The facebook chat uses an asynchronous web framework made in Python, the Tornado. The concept of asynchronous servers is different, since the whole process is done by stream connections. This…
-
2
votes4
answers173
viewsA: Javascript PHP sprintf equivalent
With jQuery you can use your element builder: var $elemento = $("<a>", {href: data.href, title: data.title}).text(data.desc); $('.umContainerParaNossoElemento').html($elemento);…
-
2
votes2
answers762
viewsA: It is possible to track the . js files that are called when running a Jquery event
You can enter the firebug and put a break point in the body of the function. With this you can go running line-by-line and check in depth the other functions that are called.