O'Reilly logo

Visualforce Developer's Guide by W.A.Chamil Madusanka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using jQuery in Visualforce pages

jQuery is an open source JavaScript library which allows us to implement client-side scripting of HTML. jQuery has been designed to be capable of extending the main libraries with new plugins for introducing a wide variety of new features. And also it allows us to navigate a document, select a DOM element, create animations, event handling, and develop Ajax applications.

When we develop Visualforce pages, jQuery can be used to simplify the UI developments. For example, jQuery is used to simplify the DOM manipulations and give access to the library of UI elements, and simplify the Ajax techniques and technologies of mobile devices.

The following example shows the jQuery version of our previous example. This is used ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required