• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Autocomplete URI issue

#6
[eluser]Ssendol[/eluser]
Sorry for that mess, but that is not main issue.
Here is
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
&lt;html &gt;

&lt;head&gt;
&lt;title&gt;Sample&lt;/title&gt;
<.script src="&lt;?=base_url()?&gt;js/jquery.js" type="text/javascript">[removed]
<.script src="&lt;?=base_url()?&gt;js/jquery.bgiframe.min.js" type="text/javascript">[removed]
<.script src="&lt;?=base_url()?&gt;js/jquery.ajaxQueue.js" type="text/javascript">[removed]
<.script src="&lt;?=base_url()?&gt;js/jquery.autocomplete.js" type="text/javascript">[removed]
<.script src="&lt;?=base_url()?&gt;js/thickbox-compressed.js" type="text/javascript">[removed]
<.script src="&lt;?=base_url()?&gt;js/pstrength.js" type="text/javascript">[removed]
<.script src="&lt;?=base_url()?&gt;js/localdata.js" type='text/javascript'>[removed]
<.link rel="stylesheet" type="text/css" href="&lt;?=base_url()?&gt;js/main.css" />
<.link rel="stylesheet" type="text/css" href="&lt;?=base_url()?&gt;js/jquery.autocomplete.css" />
<.link rel="stylesheet" type="text/css" href="&lt;?=base_url()?&gt;js/thickbox.css" />
<.script type="text/javascript">
&lt;!--
$().ready(function() {

    $("#last").autocomplete("sample/get_Names", {
        width: 200,
        selectFirst: false
    });

});
//--&gt;
<./script>
&lt;/head&gt;

&lt;body&gt;

&lt;form method="post" autocomplete="off"&gt;
&lt;input type="text" id="last" name="lname"&gt;
&lt;/form&gt;

&lt;/body&gt;

&lt;/html&gt;

When I add URI segment like 127.0.0.1/test/index.php/sample/index/123/abc/123,
Autocomplete Function does not work.
Just read itself and show in dropdown box.
Thanks


Messages In This Thread
Autocomplete URI issue - by El Forum - 02-12-2009, 12:51 AM
Autocomplete URI issue - by El Forum - 02-12-2009, 12:53 AM
Autocomplete URI issue - by El Forum - 02-12-2009, 06:49 AM
Autocomplete URI issue - by El Forum - 02-12-2009, 08:57 AM
Autocomplete URI issue - by El Forum - 02-12-2009, 09:06 AM
Autocomplete URI issue - by El Forum - 02-12-2009, 09:30 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.