jquery using .on()

jquery using .on()

Hi there,

i am working on a small jquery javascript...i have a method called attach event which attaches event using

$('body').on("click", "#div", {data}, function);

all this done in switch case statement subject to page type....
however in one page i have radio button and form with button which are loaded via ajax call...

i can click all the buttons, they load form and submit form to server but the form is submitted device, this all happens when i click radio button, if i dont click radio button then its fine.

I have three methods

process form - process serialized form but calls create dialog so we would display user message saying processing...
create dialog - responsible for creating the downloading content and opening it
initdialog - creating the dialog at given params(size, effects etc...)

using jquery 1.7.1 mvc, any help or advice will be appreciated

sorry problem was my code, i called attachEvent after loading content of radio button into div which was not needed...its fixed...however any advice on design or approach will be appreciated