#1  
Old 2010-02-08, 09:53 AM
Etabs1 Etabs1 is offline
Junior Member
 
Join Date: Jan 2008
Posts: 1
Question Jquery with Webtolead

Currently using sugar v.451e

We are updating our web2lead to work via jquery (ajax) being the post.

Some of the code:

Web page that posts:
<head>
<script type="text/script" src="jquery-1.3.2.min.js">
</script>

</head>

<SCRIPT type="text/script">


$(function(){

$.post("http:// x y z website /sugarcrm/WebToLeadCapture.php",
{campaign_id: "3e233cc5-1bf9-3071-a4b9-485b7844ea28",
team_id: "1",
lead_source: "<? echo $productNameShort. " Demo Download" ?>",
last_name: "<? echo $lname ?>"
},
OnSuccess);
});



function OnSuccess(data){

alert("Request Succesful, Data:" + data);
}
</SCRIPT>

Any advice would be appreciated
thanks
Duddy
Reply With Quote
Reply

Bookmarks

Tags
ajax, jquery, webtolead


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
jQuery in Custom Logic aykit Developer Help 3 2009-12-02 03:31 PM
Please Implement Jquery for default instalation gnovaro Feature Requests 0 2009-07-31 06:57 PM
jQuery with sugarcrm ?? ishaan Developer Help 3 2009-07-08 04:28 PM
POST and webtolead mnymkr General Discussion 1 2008-09-01 04:08 PM


All times are GMT. The time now is 08:03 AM.


Powered by: vBulletin
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SourceForge.net Logo