Welcome Guest, Not a member yet? Register   Sign In
Ajax error
#1

[eluser]suba[/eluser]
Hi

This is my code.

<?=$this->ajax->link_to_remote('Login',array('url'=>'students/ajax','complete'=>'openLightbox(request.responseText)'),array('href'=>'[removed]void(0)'));?>

Using ajax i want to call students/ajax page.

But After clicked particular button, response text only displays my current page information.

This does not go to my specified page(student/ajax).

How to rectify this problem?
#2

[eluser]suba[/eluser]
Hi all
I got solution

my mistake is url.

I did not put base_url().index_page().

so this is must.

sorry for distrub you.

Thanks..




Theme © iAndrew 2016 - Forum software by © MyBB