_uacct = "UA-1454666-2"; $(document).ready(function(){ urchinTracker(); $('.admin .body').each(function(){ $(this).hide();}); $('.more').click(adminBodyToggle); $('#content').corner('15px'); $(".delete").click(ajaxDelete); $(".update").click(ajaxUpdate); $('.page_add').click(function(){ newForm("form.remote"); return false;}); //$('.file_add').click(function(){ newForm("form.file_remote"); return false;}); $('form.remote .cancel').click(function(){ newForm("form.remote"); return false;}); //$('form.file_remote .cancel').click(function() { newForm("form.file_remote"); return false;}); $("form.remote").ajaxForm({ dataType: 'script', beforeSend: function(xhr) { $("form.remote").prepend('<div class="flash warning">Sending data...</div>'); xhr.setRequestHeader("Accept", "text/javascript");}, }); $("input.autocomplete").each(function(){ var id = this.id; $.ajax({ url: "/autocomplete/"+id, dataType: "json", success: function(msg) { $("[EMAIL PROTECTED]""+id+"\"]").autocompleteArray(msg); } }) }); $(".popup_cal").each(function(){ $(this).calendar();}); $(".wymeditor").each(function(){ $(this).wymeditor();}); });
That's the bulk of it. I am using the corners plugin and form plugin on all pages. Then the wymeditor, ui calendar and autocomplete on some pages. Even just a on page where I have a link return false and show a hidden div breaks and goes to the default url (which I put in there for graceful degradation). On Oct 24, 8:11 am, Guy Fraser <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > I am running safari 2.0.4 and jquery 1.2.1. None, and I mean none of > > my javascript works in safari. All of it works fine in firefox and > > most of it works in ie. Is this just a problem with jquery or am I > > missing something? > > Safari is pants :)