[jQuery] Re: Problem with a search form in a loaded php file??

2009-12-28 Thread Scott Sauyet
On Dec 28, 7:33 am, 123gotoandplay wrote: > i have further altered the ajax_search function and i get the error > message [ ... ] > function err(){ >         alert('something went wrong'); > } This is the signature from the docs [1] val err = function (XMLHttpRequest, textStatus, errorThrown

[jQuery] Re: Problem with a search form in a loaded php file??

2009-12-28 Thread 123gotoandplay
i have further altered the ajax_search function and i get the error message function ajax_search() { var search_word=$("#searchTerm").val(); var dataString = 'search_word='+ search_word; alert("ajax search this "+dataString); $.ajax({

[jQuery] Re: Problem with a search form in a loaded php file??

2009-12-28 Thread 123gotoandplay
Tx, for the answers but i am not quit there yet. I am able to trigger the search_button? I can see the alerts i have set $(document).ready(function() { $("#content").css("overflow-y", "hidden"); $("#manageList").click(function() { $("#content").css("overflow-y", "

[jQuery] Re: Problem with a search form in a loaded php file??

2009-12-23 Thread Scott Sauyet
On Dec 23, 4:37 am, 123gotoandplay wrote: > Now i am 'loading' list.php in #content and now the search function > doesn't work. You might want to look at question 2.1 of the FAQ [1] or at the Ajax and Events Tutorial [2] to see if that's the issue. -- Scott [1] http://docs.jquery.com/Frequent