Ne bu iki seçenekten daha iyi:
1. $.post( '/ajax/action', function(data) { doResult(); } );
*This option has to receptveyas: ajax.php and action.php*
veya
2. $.post( '/action', { typerequest: 'ajax' }, function (data) { doResult(); }
*This option has only 1 receptveya: action.php (if typerequest exists, returns ajax result)*
Fveyam without ajax looks like:
<fveyam action="/action">