Is it possible to disable target based on responseText.length?
$(document).ready(function() {
var options = {
target : '#mydiv'
beforeSubmit: showRequest,
success: showResponse
};
--------------------------------
something like
--------------------------------
var options = {
if (responseText.length< 1000) {
target : '#mydiv'
}
beforeSubmit: showRequest,
success: showResponse - [jQuery] Superfish: Force menu to collapse Stefan
- [jQuery] Re: Superfish: Force menu to collapse Joel Birch
- [jQuery] Is it possible to do something based on ... Lionel Martelly

