why after click on tag <a>, page refresh and not work appendTo in jQuery? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: why after click on tag <a>, page refresh and not work appendTo in jQuery? (/showthread.php?tid=43563) |
why after click on tag <a>, page refresh and not work appendTo in jQuery? - El Forum - 07-16-2011 [eluser]SaSa[/eluser] tag a is to $.each(). see my js code: Code: $('.auto_complete').keyup(function () { php: Code: function search_hotel(){ If you pick the .live, after click on '.list_name p a' appendTo is several result? Quote:like: I want append to only value that clicked, no several value. Please help me. Frustrate me... With respect why after click on tag <a>, page refresh and not work appendTo in jQuery? - El Forum - 07-16-2011 [eluser]SaSa[/eluser] Please help me why after click on tag <a>, page refresh and not work appendTo in jQuery? - El Forum - 07-16-2011 [eluser]bgreene[/eluser] had that problem before. i think solution was to give href a hash like: <a href="#" id="result"> why after click on tag <a>, page refresh and not work appendTo in jQuery? - El Forum - 07-16-2011 [eluser]bgreene[/eluser] also, i always use <a href="#">xyz</a> why after click on tag <a>, page refresh and not work appendTo in jQuery? - El Forum - 07-16-2011 [eluser]SaSa[/eluser] please see this link and click on image +, and go to filde "insert hotel" and type any of this word: salsh, salasi, salaso, salal, 333333 http://www.binboy.gigfa.com/auto/ please tell me what is bugs? |