#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)
Change History (3)
Changed 14 years ago by
Attachment: | TestPage.htm added |
---|
comment:1 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
This bug tracker is for jQuery UI plugins. Please post your question to the main jQuery mailing list.
Note: See
TracTickets for help on using
tickets.
example file to demonstate the issue, try in IE (works) then Firefox(not working)