(i am using jquery-1.3.2.min.js and mvc)
I have several labels and textboxes in my page.
50% of them have the word "Sdc" in the id - i.e "SdcStartLabel" "SdcEndLabel" "SdcTextbox" etc etc
After the page has loaded, if a certain value is false - i want to disable all the labels and textboxes that have "Sdc" in their id.
When i say disable - for the labels - i want to make the back ground grey - and put "N\A" and for the text inputs - to actually disable them.
Is this possible to do in one statement - rather than explicitly call every label and text box.
If so could someone show me how.