1 Antwort
They don't work with Apex, they work with Visualforce as they are client side technologies.You'd use JavaScript to carry out processing on the client, which is orders of magnitude faster than sending the page on a full round trip to the server. VF has some built in Ajax support using the rerender attribute on commandbuttons/links/actionfunctions etc. Ajax communicates with the server via a different mechanism to the VF postback that is much faster, but stateless.JQuery is just a JavaScript library that provides a bunch of utilities and stops you having to worry about browser compatibility.