test2
let’s try it this way:
//
new Ajax.Request('writeLogOfLead.php', { parameters: {content:''+contentTxt, submited:fromSubmit, TYPE: '1', timestamp:timestamp}, method: 'post', onComplete: function(transport) { if(fromSubmit == 1){ $('theForm').submit(); return true; } } }); return false; } // ]]>
//