Opened 14 years ago

Closed 14 years ago

Last modified 10 years ago

#3669 closed bug (notabug)

Something in jscript not working in firefox

Reported by: bowyer99 Owned by:
Priority: major Milestone:
Component: ui.core Version: 1.6rc2
Keywords: Cc:
Blocked by: Blocking:

Description

Hi there.

Firstly I am new to Jquery and have been trying to get to grips with it, but its looking really good.

I have a collapsing panel which I am creating and using JQuery to change some class names to collapse of expand the panel.

I run the following on the page which runs in IE but not Firefox I have attached a HTML file demonstrating the error

THe Jscript I am running is:

$(document).ready(function() {
         $("div.AgoraLiveCollapsingPanel").children(".HeaderRow").click(function() {
             //$(this).css("background-color", "blue");
             if ($(this).parent().hasClass("Expandable")) {
                 if ($(this).parent().hasClass("Collapsed")) {
                     $(this).parent().addClass("Expanded");
                     $(this).parent().removeClass("Collapsed");

                 }
                 else {
                     if ($(this).parent().hasClass("Expanded")) {
                         $(this).parent().addClass("Collapsed");
                         $(this).parent().removeClass("Expanded");
                     }
                 }
             }
         }); // End of .Click Function
     });  //End of .Ready function

Attachments (1)

TestPage.htm (7.3 KB) - added by bowyer99 14 years ago.
example file to demonstate the issue, try in IE (works) then Firefox(not working)

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by bowyer99

Attachment: TestPage.htm added

example file to demonstate the issue, try in IE (works) then Firefox(not working)

comment:1 Changed 14 years ago by Scott González

Resolution: invalid
Status: newclosed

This bug tracker is for jQuery UI plugins. Please post your question to the main jQuery mailing list.

comment:2 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.