Ajax error in safari? |
[eluser]Unknown[/eluser]
Quite new to codeigniter and already a strange problem. I have a simple jquery ajax call which works fine inFF, chrome and even IE6, but returns error in Safari (v4.05 on Mac at least)???? I have broken down the code to almost nothing to try to find the anvwer, but no clue. You can try it on : http://www.moonwork.se/trickbaze , just clik the submit button to trigger ajax. I get 2 error messages from the script: 'error0', and just 'error'. Anybody know what's wrong, specifically for Safari? Code: The controller Code: <?php The view Code: <?php
[eluser]pickupman[/eluser]
A little tweak in the js Code: $("form").submit(function(e) {
[eluser]Unknown[/eluser]
Pickupman, that really helped me. Actually changing to Code: "<?php site_url(); ?>index.php/ajax_test/form" Thank you! |
Welcome Guest, Not a member yet? Register Sign In |