[jQuery] jquery UI sortable, how can i get the text of the that i just moved ?

2010-01-04 Thread kknaru
what i'm trying to do is to get the text that is contained by the moved li, after the list item was moved. Is there a way to do that? i tried: $(ui.item).text() but i get an ui is not defined error (i imported just jquery.js, ui.core.js and ui.sortable.js , do i have to import something else?) tha

[jQuery] Re: jquery preload images

2009-10-16 Thread kknaru
thanks for your help, that is a very good article

[jQuery] Re: jquery preload images

2009-10-16 Thread kknaru
can you give me some good references? i'm trying to understand the process so i don;t want to use a plugin

[jQuery] Re: jquery preload images

2009-10-16 Thread kknaru
nobody? :(

[jQuery] jquery preload images

2009-10-15 Thread kknaru
ok, so i have this "slideshow.html" containing just a bunch of pictures, and the "index.html". index.html click slideshow.html and i have my script like this; $(document).ready(function(){ $('a').click(function(){ $('ul').append(''); $('ul').loa

[jQuery] Re: how can i write a function that accepts a callback function

2009-10-10 Thread kknaru
many many thanks Mike! now i have a basic idea and i will focus on it trying to implement it in my plugin. Thanks again

[jQuery] Re: how can i write a function that accepts a callback function

2009-10-10 Thread kknaru
i know that load accepts a callback, but i want to understand how to write a function that accepts a callback function 'cause i want to use it in a plugin. I'm new to plugin development so this are my first steps in understanding this concepts. ok, so i tried a simple script just to understand ho

[jQuery] Re: how can i write a function that accepts a callback function

2009-10-10 Thread kknaru
hmm...so..how should i "prepare" the data? something like this? var someData = $(selector).load("page.php",{...etc}); in this way the callback function will have access to the loaded content as jquery wrapped set of elements?

[jQuery] how can i write a function that accepts a callback function

2009-10-10 Thread kknaru
hi there, how can i write a function that accepts a callback function? $(selector).myFunction(argument,options,function(){ //do the thing }); i want myFunction to load some data via(an unordored list actually) load method end then somehow to return the wrapped elements for the cal

[jQuery] Re: effect over images loaded via ajax (load method)

2009-10-10 Thread kknaru
hmm...nobody? :(

[jQuery] effect over images loaded via ajax (load method)

2009-10-09 Thread kknaru
i have some images loaded viad load method, something like this: on mouseover i want to append a div inside that with a greater z- index than the img so that div comes "in front" of the image(like a bar with links for image editing).On mouseout i want it to disappear. anyway...the p

[jQuery] Re: JQUERY form submit

2009-10-06 Thread kknaru
EQUEST)" to see if > you get anything. > > On Oct 6, 1:43 pm, kknaru wrote: > > > hi i have something like this: > > > // > > javascript--

[jQuery] JQUERY form submit

2009-10-06 Thread kknaru
hi i have something like this: // javascript-- $('a').click(function(){ $('div').load('form.html',function(){ $('form[name="form_name"]').submi

[jQuery] Re: accessing the ajax loaded content

2009-08-23 Thread kknaru
grat :P thnks so much Quang Ngo i solved it :)

[jQuery] Re: accessing the ajax loaded content

2009-08-23 Thread kknaru
hmm...can you be more specific? how should i use it? thanks

[jQuery] Re: accessing the ajax loaded content

2009-08-23 Thread kknaru
no ideas??

[jQuery] accessing the ajax loaded content

2009-08-22 Thread kknaru
so guys..what i'm trying to do is to acces the content loaded via AJAX but in an other way than by a callback function. i have a div where the data will be loaded via ajax, the data is represented by a list of folders and when i click one of them i want to load then the subfolders...and so on, b

[jQuery] Re: jquery and radio buttons

2009-08-15 Thread kknaru
SOLVED my selector was wrong, this works fine: $("input:radio").change(function(){ bla bla bla }); On Aug 15, 3:00 pm, kknaru wrote: > hi, i have this form: > > >           >           >           >           disabled="disabled"

[jQuery] jquery and radio buttons

2009-08-15 Thread kknaru
hi, i have this form: and i'm trying to do something like this: when one of the two radio buttons is selected the submit button to become clickable(removing the disabled attribute). i tried this code but with no effect $("input:[...@name=

[jQuery] Re: accessing iframe content

2009-07-26 Thread kknaru
after many tries i managed to solve the problem with this code: $("#myframe").load(function(){ $(this).contents().find("p").text(); });

[jQuery] accessing iframe content

2009-07-25 Thread kknaru
hi there, i just started working with iframes and i'm stucked :D so...i have this code inside a html file: text what i'm trying to do is to grab that paragraph text(using jquery). by now i tried something like this: $("#myframe").contents().find("p").html(); butwith no result