[jQuery] Re: Send $_FILES thorugh ajax using jQuery

2009-04-04 Thread Javier Martinez Fernandez
Or if you want a more advanced way of uploading content, try jqUploader. http://www.pixeline.be/experiments/jqUploader/ -- Javier Martinez Fernandez ecentin...@gmail.com To sell and buy games between

[jQuery] Re: Chrome bug

2009-04-03 Thread Javier Martinez
=from/ is not valid, I think. You should try: 'divdiv id=from/divdiv id=to/div/div' instead. On Apr 1, 11:59 pm, Javier Martinez ecentin...@gmail.com wrote: Chrome has errors selecting more than one element where these elements are not inserted yet. Test case (execute this snippet in some

[jQuery] Chrome bug

2009-04-02 Thread Javier Martinez
Chrome has errors selecting more than one element where these elements are not inserted yet. Test case (execute this snippet in some page): alert($('divdiv id=from/div id=to//div').find('#from, #to').length); The version I'm using is 1.3.2

[jQuery] Re: OnMouseDown = create draggable, OnMouseUp = create droppable

2009-03-09 Thread Javier Martinez
http://dev.jqueryui.com/ticket/3876 Not fixed yet, but the code I prupose for the draggable part is still working. The droppable can be created on mousedown at the same time that draggable. Hope it works.

[jQuery] Re: Optimize large DOM inserts

2009-02-06 Thread Javier Martinez
And what about? for (var i = 0, j = data.length, arr = new Array(j); i j; i++) arr[i] = 'trtddata from json/td/tr'; $('tbody').append (myArray.join ('')); 2009/2/6 Gordon grj.mc...@googlemail.com .each isn't the best choice in this case, a good old-fashioned for loop will be

[jQuery] Re: Simple selector not working in 1.3.1 and webkit (safari and chrome)

2009-02-04 Thread Javier Martinez
AM, Javier Martinez ecentin...@gmail.com wrote: I'm creating a component for an application I'm developing and I have upgraded jquery to the last version to get it's speed boost. After some testing I have seen that my component is not working correctly in webkit browsers because

[jQuery] Simple selector not working in 1.3.1 and webkit (safari and chrome)

2009-02-03 Thread Javier Martinez
I'm creating a component for an application I'm developing and I have upgraded jquery to the last version to get it's speed boost. After some testing I have seen that my component is not working correctly in webkit browsers because there is some bug with the new Sizzle selector of the new jquery.

[jQuery] Re: Simple selector not working in 1.3.1 and webkit (safari and chrome)

2009-02-03 Thread Javier Martinez
(). It might solve the problem on safari (as I think the reason I stopped using find() or children() was that the above was much more reliable on my mac for doing dev work.) On Feb 3, 10:39 am, Javier Martinez ecentin...@gmail.com wrote: I'm creating a component for an application I'm developing and I

[jQuery] not selector

2009-02-01 Thread Javier Martinez Fernandez
I'm having some problems using the not selector on my jquery code. I have elements that have one classname first and only one of them has a second classname second (that is used in many other elements). I want to select the elements that have the first but not the second. The selector I

[jQuery] propagation in 1.3

2009-01-15 Thread Javier Martinez
First of all, thanks to all jQuery members for the new release! is a great gift! With this release, one of the main features is the new event propagation logic. As I can understand, it seems that, for example, if I have a div(inside) inside other div(outside) and I attach a click event to the

[jQuery] getJSON not triggering success callback

2008-12-12 Thread Javier Martinez
I'm making some calls with getJSON on another domain, and the callback is not firing. My code is the next: var url = '

[jQuery] Reuse an ajax call and cancel it

2008-08-22 Thread Javier Martinez Fernandez
Is there any way to reuse the same ajax call many times and cancel it if it's called again before it has been finished? Thanks.

[jQuery] jQuery and Firebug 1.2.0b13

2008-08-21 Thread Javier Martinez Fernandez
Someone is experiencing problems with firebug 1.2.0b13 and domready in jQuery. I load an external js file that contains something like this: jQuery(function() { console.time(Test!); console.timeEnd(Test!); }); And console throws an error saying that console is undefined. It

[jQuery] extending objects with jquery

2008-05-06 Thread Javier Martinez
I'm moving from mootools to jquery and trying to port my UI framework to jquery. Some of my widgets are extending from another widget. For example a datagrid and a dataview objects extends from view object (because both uses same methods from view). With Mootools I have something like this Class