is there proceed jquery's serialize form fields trim value fields?


i have form uses jquery quarrel an ajax post serializes form sent up. formula looks this:



var form = $("form");
var movement = form.attr("action");
var serializedform = form.serialize();
$.post(action, serializedform, function(data)
{
...
});


the problem here domain trailing white space, serialize duty spin those spaces and (+) signs, should stripped.



is there proceed fields embellished without doing following:



$("#name").val( jquery.trim( $("#name") ) );


Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?