[jQuery] load script regarding to value of textfield

2009-01-12 Thread dirk w
hello community, i have some kind of a beginner question and i really would appreciate if you could help me with that. when someone types a value into the textfield and clicks on "search" or enter than the javascript line should be called regarding to the entered value. this should happen without

[jQuery] Re: load script regarding to value of textfield

2009-01-12 Thread dirk w
llback=showMyVideos&max-results=7&format=5">'; > >   // ajax functions to call $.ajax, $.load, $.get, $.post > > }); > > - > Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com > > On Mon, Jan 12, 2009 at 1:49 PM, dirk w wrote: > > > hello communi

[jQuery] Re: load script regarding to value of textfield

2009-01-13 Thread dirk w
ides anyone? On 12 Jan., 17:43, dirk w wrote: > thanks a lot for your help! > is it possible to additionally explain me how i can execute this link > through the ajax functions? that would be great! > > thanks in advance > > On 12 Jan., 15:53, "jQuery Lov

[jQuery] ajax :: how to load script

2009-01-15 Thread dirk w
hello community, i've got a textfield and a searchbutton. a click on the searchbutton schould execute the following java script which will return some data to a callbackfunction called "showmyvideos": $('#searchButton').click(function() { var url = 'http://gdata.youtube.com/feeds/api/vide

[jQuery] Re: ajax :: how to load script

2009-01-15 Thread dirk w
> This will place any text returned from the request into #element, but > will also scan for and execute any script tags in that returned data. > > Hope that helps. > > On Jan 15, 9:41 am, dirk w wrote: > > > hello community, > > i've got a textfield and a s

[jQuery] forms :: fire javascript on enter (without reloading the whole page)

2009-01-30 Thread dirk w
hello, i've a text inpput field and a button. if you click on the button a java script gets called (and all works fine) but if you type some text and push the enter button than the whole page gets reloaded on the form submit. i know how to prevent the browser to reload the whole page (by catching

[jQuery] Re: forms :: fire javascript on enter (without reloading the whole page)

2009-01-30 Thread dirk w
x27;http://gdata.youtube.com/feeds/api/videos?q='+ $ > ('#searchText').val() + '&alt=json-in-script&callback=showMyVideos&max- > results=7&format=5'; >         $.getScript(url); > >         return false; > > }); > > -- > Bohdan > &

[jQuery] having a problem with ' and strings

2009-02-04 Thread dirk w
hello jquery community, i am getting some strings from a page i don't have influence on. i just append those to elements (thanks to jquery this works like a charm!): $("#searchResultList").append(""); my problem is: sometimes the variable "title" contains a ' in the string, like "doesn't that lo

[jQuery] Re: having a problem with ' and strings

2009-02-04 Thread dirk w
lace all " to be ' and all ' to be " > > Personally, all my selectors use " > then functions use ' > > $("#searchResultList").append(' thumbnailUrl + '"       class="thumbnail" alt="' + titleFull + ' (' + min

[jQuery] caching getScript() :: ajax question

2009-02-10 Thread dirk w
hello, i am getting a script which calls back some json to my function "showMyVideos". during my research in this group i read that getScript wouldn't cache. in my case i would like to add some cache (lazy loading) to my getScript function since it isn't necessary to update a already searched resu

[jQuery] Re: caching getScript() :: ajax question

2009-02-11 Thread dirk w
any ideas? On 10 Feb., 17:31, dirk w wrote: > hello, > i am getting a script which calls back some json to my function > "showMyVideos". > during my research in this group i read that getScript wouldn't cache. > in my case i would like to add some cache (lazy loadi