[jQuery] Re: Page load question

2009-09-16 Thread the intern
Never mind, a seem to have figured it out Here is the code that I used to do this $(document).ready(function(){ e = $('[id$=_y]'); for (i = 0; i < e.length; i++) if (e[i].checked == true) { $('#' + ($(e[i]).attr('id').charA

[jQuery] Re: Page load question

2009-09-16 Thread the intern
alized? Attending Physician? Physician Phone Number? Degree of Recovery? Yes No

[jQuery] Page load question

2009-09-08 Thread the intern
What I have is a form where people will answer yes or no questions. What I need is, that when the page is loaded, a way to go though the questions and check to see which ones are marked as yes. The reason for this is, when yes is checked, there are additional questions that open up using .show().