문제

Using .serializeArray() and if I enter say Jim<Test in a text box, only Jim is picked up by Jquery. Is their a work around?

Thanks!

도움이 되었습니까?

해결책

Working demo http://jsfiddle.net/xyBS3/

I cannot see the code by you,but you can try typing jim<test and it will allow you to do that.

Hope it helps the cause. :)

code

$('pre').text(JSON.stringify($('#f').serializeArray(), null, '  '));

$('input').keyup(function() {
    $('pre').text(JSON.stringify($('#f').serializeArray(), null, '  '));
});​
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top