AJAX URL Composition |
[eluser]yyzSantaBarbara[/eluser]
Code: $('#btn_login').click(function() I am making a simple JQuery Mobile AJAX POST and the POST is creating a URL on the browser that is not what I require. For example: This is generated: http://localhost:82/CodeIgniter_2.1.3/in...rch_filter When I would like it to be http://localhost:82/CodeIgniter_2.1.3/in...rch_filter I have done some searching on this issue and I cannot narrow down the solution so I thought I would ask this question here. I have tried different ways of creating the POST URL: base_url(), site_url(), and hardcoded absolute URL. It leads me to believe that this is a CodeIgniter configuration settings that I need to set. The problem with the current URL is that when I am in the stock_seach_filter page subsequent AJAX funtions do not get triggered because the URL is messed up. If I manually change the URL to what I have shown above then the subseqeunt URLs on the stock_search_filter page work as expected. My website is running under Apache 2.2.21 |
Messages In This Thread |
AJAX URL Composition - by El Forum - 04-27-2013, 10:58 AM
AJAX URL Composition - by El Forum - 04-27-2013, 11:36 AM
|