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
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
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
3 matches
Mail list logo