[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
Here is my jQuery: $(document).ready(function(){ $('[id$=_questions],[id$=_questionsLink]').hide(); $('[id$=_y]').bind('click',function(){ var thiis = $(this).attr('id').charAt(1); $('#'+thiis+'_questions').show(); $('#'+thiis+'_questio

[jQuery] Re: Page load question

2009-09-09 Thread Cesar Sanz
Well, can you show us some mark-up? - Original Message - From: "the intern" To: "jQuery (English)" Sent: Tuesday, September 08, 2009 1:54 PM Subject: [jQuery] Page load question What I have is a form where people will answer yes or no questions. What I need is, that when the page