Welcome Guest, Not a member yet? Register   Sign In
(solved)help with jQuery, form plugin and cascade dropdown
#4

[eluser]jozeunico[/eluser]
Quote:Well, the reason because I didn’t use that method it’s, well even I am learning without “way”, and now my doubt about that solution it’s in the “url:”
what url use for set a function from a controller ? My controller it’s called “comment.php” and the function where I make and echo it’s “index”

I try with “comment/index”, “comment”,“comment.php/index”,“comment.php” but nothing happend, Just that and thanks

I solved the last doubt with this
Code:
CI_ROOT = "<?php echo base_url() ?>";

and then at the ajax request
Code:
url:CI_ROOT+"index.php/comment/index"

(http://ellislab.com/forums/viewthread/97212/)


Maybe it's not the best solution but it works.
Thanks a lot


Messages In This Thread
(solved)help with jQuery, form plugin and cascade dropdown - by El Forum - 02-04-2009, 04:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB