Friday 15 July 2011

asp.net mvc - Disable form field when another is unchecked -



asp.net mvc - Disable form field when another is unchecked -

i have asp.net mvc website , form.

for form, utilize :

@html.labelfor(m => m.field) @html.editorfor(x => x.field)

but have boolean fields linked one. disable these fields when other 1 unchecked.

i utilize jquery mobile it's generating these kind of checkboxes

so don't have id of generated checkbox...

is there way need using these html helpers or have creates fields manually ?

asp.net-mvc forms html-helper

No comments:

Post a Comment