How do I get confused that the .val () method in jQuery handles whitspeak (if it's a jQuery problem)
My example is using an AJAX suggestions box feature which I am slowly developing. It uses Codeigniter as the framework.
I have this jQuery code:
$ (document) .ready (function () {$ ("# suggestbox"). () "$" (" ("#"). ("(" "Search"); if ($ ("$ searchboxinput") .val (. Length == 0) {$ ("# suggestbox"). FadeOut (100);} and {$ ("# Suggest Box") .Phidin (100); $ ("#sugresultcontain"). Load ('http: // localhost / ajaxtest / ajaxhandle / suggest /' + $ ("#searchboxinput") .val () + '# Loadsuggest');}}}};}); '#suggestboxinput' is a text input as shown:
<
Comments
Post a Comment