jquery code not working in chrome, but works in IE and FF
I was under the impression that jquery is cross browser. For some reason in chrome when I click my button, nothing happens. this works in FF and IE though. any ideas?
[yes, this code is extremely ugly and not proficient, but it works in IE/FF. I just started learning jquery, so please be kind :) ]
- $(document).ready(function() {
- $('.extra_btn').click(function() {
- $('.extra_btn').fadeOut('fast');
- });
- $('.extra_btn').click(function() {
- $('.extra_form').fadeIn('slow');
- });
- $('.extra_btn').click(function() {
- $(".jquery-lightbox-html, .jquery-lightbox-mode-html").animate(
- {"height": "680px"},
- "fast");
- });
- $('.extra_btn').click(function() {
- $(".jquery-lightbox-background").animate(
- {"height": "688px"},
- "fast");
- });
- $('.extra_btn').click(function() {
- $(".jquery-lightbox").animate(
- {"height": "670px"},
- "fast");
- });
- });