[TYPO3-dev] lib /div and a jquery ajax call

Walter Seeberger walk2moon at gmx.de
Fri Aug 14 16:22:51 CEST 2009


Hello everybody,

I need to call the following action from a controller:

test[action][write]

with a Form I do following to call this function:
<input class="send" value="senden" type="submit" name="test[action][write]"/>
		   		
Now I want to call this function with jQuery. The call looks like at the moment, but does not work:

 $.ajax({
   type: "POST",
   url: "some.php",
   data: "test[action][write]",
   success: function(msg){
     alert( "Data Saved: " + msg );
   }
 });

Can anyone tell me, what I have to send with the data-option? 
Thank you very much.

Regards
Walter

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser




More information about the TYPO3-dev mailing list