Welcome Guest, Not a member yet? Register   Sign In
Notezz - an AJAX jQuery / CodeIgniter demonstration (drag 'n drop etc.)
#11

[eluser]Abdelali[/eluser]
done !

Thank you Wink
#12

[eluser]Apfel1988[/eluser]
Hello,

i like jquery very much and now i will use it with ci.

I will make an ajax request like:

Code:
$.ajax({
                        method:"post",
                        url:"<?= base_url() ?>start/about/",
                        success:function(html){
                            alert(html);
                            $(".content").html(html);
                        }
                    });

If i call the function with the code, i becom a jquery error message.
Can anybody tell me what i'm doing wrong?


Quote:Access to restricted URI denied" code: "1012
[Break on this error] (function(){var R=/((?:\((?:\([^()]+\)|[...(J,typeof K==="string"?K:K+"px")}})})();
Thank you very much.
#13

[eluser]pistolPete[/eluser]
jQuery Documentation

There is no option called "method", use "type" instead.

How does your generated html/js look like? Do you have short tags enabled?
#14

[eluser]Apfel1988[/eluser]
[quote author="pistolPete" date="1236906322"]jQuery Documentation

There is no option called "method", use "type" instead.

How does your generated html/js look like? Do you have short tags enabled?[/quote]

after i send the reply, i seen that i used "method" but this wasn't the problem.

When i use an absolute url by typing the url by myself it works.
But i will use the url helper base_url().

In the generated code i don't see any diffence.....
#15

[eluser]pistolPete[/eluser]
Did you configure base_url correctly in application/config/config.php?
Code:
$config['base_url']    = ???
#16

[eluser]Apfel1988[/eluser]
[quote author="pistolPete" date="1236907210"]Did you configure base_url correctly in application/config/config.php?
Code:
$config['base_url']    = ???
[/quote]

aahhh, perfect.
I wrote the ip for localhost not the word.
Thank you very much.
#17

[eluser]rainbowrams[/eluser]
[quote author="clariz" date="1222427034"]I just have tried the demo. It really amazed me...
Never created like that before.:wow:

I think I'll try making like that.:cheese:
Thanks loathsome[/quote]

Hey i didn't find CI application folder in repidshare download link .How did you tried the demo?
#18

[eluser]elambiguo[/eluser]
[quote author="rainbowrams" date="1277810042"][quote author="clariz" date="1222427034"]I just have tried the demo. It really amazed me...
Never created like that before.:wow:

I think I'll try making like that.:cheese:
Thanks loathsome[/quote]

Hey i didn't find CI application folder in repidshare download link .How did you tried the demo?[/quote]

Hi:

The application folder is called 'notecore'....
#19

[eluser]rainbowrams[/eluser]
[quote author="elambiguo" date="1277813637"][quote author="rainbowrams" date="1277810042"][quote author="clariz" date="1222427034"]I just have tried the demo. It really amazed me...
Never created like that before.:wow:

I think I'll try making like that.:cheese:
Thanks loathsome[/quote]

Hey i didn't find CI application folder in repidshare download link .How did you tried the demo?[/quote]

Hi:

The application folder is called 'notecore'....[/quote]

Great stuff ..thank you




Theme © iAndrew 2016 - Forum software by © MyBB