[jQuery] Autocomplete plugin not working with $.ajax?

2009-11-17 Thread Teddy Hong
here the code // if I type like below code, auto complete it's show.. $('#edit-submitted-order-no').autocomplete(["one","two","three"]); // but if I type like below code, auto complete not showing... why? anybody can help?... thanks $.ajax({ type: "POST", url: "test.php",

[jQuery] Re: How to add some string in attributes?

2009-10-07 Thread Teddy
gt; This is untested and certainly not the best way to do this (like I said > earlier). You should be using CSS for image rollovers. > > Teddy wrote: > > I mean not like that... > > > I mean what ever the src value I want toaddhover when it hover > > and when mous

[jQuery] Re: How to add some string in attributes?

2009-10-06 Thread Teddy
ion(){ >         $("img").bind("mouseover",function(){ >                 $(this).attr("src","/images/menu-my-account-hover.png"); >         }); > > }); > > but this is the worst way you can do rollovers. You should be doing this in > pure CS

[jQuery] How to add some string in attributes?

2009-09-28 Thread Teddy Hong
If I have a tag image like this.. and when hover that image I want became like this How to code this with jquery? Thanks