I am developing a small application in which I want to create 20 radio buttons in one row.
How can I do this using jQuery?
I think this will serve your purpose:
for (i = 0; i < 20; i++) { var radioBtn = $(''); radioBtn.appendTo('#target'); }