KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: 4D Ajax Framework JavaScript Injection
PRODUCT: 4D Web 2.0 Pack | VERSION: 1.2 | PLATFORM: Mac & Win
Published On: September 19, 2007

The 4D Ajax Framework (4DAF), which is part of 4D Web 2.0 Pack, allows a DDW method to return content to the web front end. One of the possibilities is to return JavaScript to the front end and inject it into the current page. In this case, however, the reply must be parsed manually.

4DAF 1.2 will add support for JavaScript injection into the 4DAF Client.

This Technical Note explores using both techniques to inject JavaScript with the 4DAF.

A sample database is provided.

Download Complete Tech Note and Example: Windows | Mac (approx. 22mb)