function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PaddybPaddyb 

Ajax and Web to Lead

Is it possible to use Ajax on a web to lead form? I cant find much information from searching on this, has anyone got any examples of this?

sfdcfoxsfdcfox

You could use AJAX in a generic sense, but you probably do not want to use the AJAX Toolkit (to access salesforce.com features) because the toolkit has to have a valid session ID, and also because AJAX would violate cross-domain security... so you'd have to risk exposing a valid session ID to anyone on the web, and you'd have to use an AJAX proxy (on your server's host) to actually tunnel the connection.