[jQuery] RE: FF2.0 and IE7 simple hide and show stuff`

[jQuery] RE: FF2.0 and IE7 simple hide and show stuff`


What am I doing wrong? (besides developing the whole thing to work in
FF2.0 first)
What changes can I make to get this to work in IE7?
For example it does not change to 'Edit Gift Label' on ready, even
though the checkbox is checked.
$(document).ready(function(){
var rowNum = 0
$("input[@type='checkbox']").each(function() {
rowNum = rowNum +1
     showGiftCardLinkAtLoad(rowNum)
});
});
function showGiftCardLinkAtLoad(rowNum){
if ($('#G' + rowNum).is(':checked'))
{
$(".addGiftCard" + rowNum).removeClass("noshow");
        if ('<%=editTag%>' == '1')
        {
        $(".addGiftCard" + rowNum).text("Edit Gift Label");
        }
}
else
{
$(".addGiftCard" + rowNum).addClass("noshow");
}
}
function processGiftCardChecked(rowNum){
if ($('#G' + rowNum).is(':checked'))
{
document.forms.recalculate.submit()
}
else
{
document.forms.recalculate.submit()
}
}
function editGiftCard(rowNum){
$(".addGiftCard" + rowNum).text("Close Gift Label");
$("#gift_table").removeClass("noshow");
$(".addGiftCard" + rowNum).removeAttr("onclick");
$(".addGiftCard" + rowNum).attr("onclick","closeGiftCard(" +
rowNum + ")");
}
function closeGiftCard(rowNum){
$(".addGiftCard" + rowNum).text("Edit Gift Label");
$("#gift_table").addClass("noshow");
$(".addGiftCard" + rowNum).removeAttr("onclick");
$(".addGiftCard" + rowNum).attr("onclick","editGiftCard(" + rowNum
+ ")");
}