[jQuery] Re: Everyone knows how to manipulate a SELECT with jQuery??

2008-09-07 Thread Tzury
@ Lukas && MorningZ If you don't use jQuery for the task, you my have to assure by yourself that the code will work under all the browsers. On Sep 7, 1:39 am, Lukas Polak <[EMAIL PROTECTED]> wrote: > you don't need to use jQuery. I've just been solving problem about how > can I get value of SELE

[jQuery] Re: How to retrieve jQuery.query?

2008-09-04 Thread Tzury
On Sep 4, 10:01 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > There is allready such an attribute > try this: > > $("#myID .MyClass mychildren").myfunction() { >   console.log(this.selector); // "#myID .MyClass mychildren" > > } $.fn.ShowSelector = function () { return this.selector;

[jQuery] Re: How to retrieve jQuery.query?

2008-09-03 Thread Tzury
I just released a new version of the HotKeys plug in which was the reason I needed this new .query property see more at http://code.google.com/p/js-hotkeys/wiki/about Thank you all, Tzury On Sep 1, 3:46 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote: > prevObject is internal, you don&

[jQuery] Re: How to retrieve jQuery.query?

2008-09-01 Thread Tzury
> jQuery.fn.find=function( selector ) { >   this.query=selector;  //this is the only line you have to modify > >   var elems = jQuery.map(this, function(elem){ >     return jQuery.find( selector, elem ); >   }); >   return this.pushStack( /[^+>] [^+>]/.test( selector ) || > selector.indexOf("..")

[jQuery] Re: How to retrieve jQuery.query?

2008-08-31 Thread Tzury
SG, thanks for the livequery reference. it was very helpful, -- TBY > On Aug 31, 8:06 pm, Scott González <[EMAIL PROTECTED]> wrote: > That's most of what you need to do, but you also need to reassign the > prototype after overriding the init: > > $.prototype.init.prototype = $.prototype; > > Che

[jQuery] Re: How to retrieve jQuery.query?

2008-08-31 Thread Tzury
On Aug 31, 3:35 am, dabear <[EMAIL PROTECTED]> wrote: > Not sure if I answer your question completly, but doing that test on > each elements tagName should do it what will you do in case of $('div > p')?

[jQuery] Re: How to retrieve jQuery.query?

2008-08-31 Thread Tzury
On Aug 31, 12:46 pm, Olivier Percebois-Garve <[EMAIL PROTECTED]> wrote: > the appropriate name is : this sorry sir, bu 'this' does not represents the selector expression at any time I would like to retrieve the selector which initialized the jQuery instantiation. for example $('div.foo') ret

[jQuery] How to retrieve jQuery.query?

2008-08-30 Thread Tzury
Say a user called $('div.foo') I would like to get this 'div.foo' from within my plug-in context. $.fn.PlugIn = function (){ if (/table|tbody|thead|th|td|tr/.test($.query){ } }

[jQuery] How to retrieve jQuery.query?

2008-08-30 Thread Tzury
Say a user called $('div.foo') I would like to get this 'div.foo' from within my plug-in context. I look through the code and couldn't find a property which contain this data; I was thinking that 'query' is the appropriate name for this property example usage: $.fn.MyPlugIn = function (){

[jQuery] Re: jQuery 1.2.6 event.altKey is undefined

2008-08-24 Thread Tzury
ference the altKey property like this: > event.originalEvent.altKey > > -- > Brandon Aaron > > On Sun, Aug 24, 2008 at 1:06 PM, Tzury <[EMAIL PROTECTED]> wrote: > > > The latest version that behave correctly is 1.2.4. > > How could I submit a fix for thi

[jQuery] Re: jQuery 1.2.6 event.altKey is undefined

2008-08-24 Thread Tzury
> It has already been fixed in SVN. If you don't want to use the SVN version > then simply reference the altKey property like this: > event.originalEvent.altKey thanks for the information - that props copying line was the problem. anyway, in my case for the matter of backward (and forward) compat

[jQuery] Re: jQuery 1.2.6 event.altKey is undefined

2008-08-24 Thread Tzury
The latest version that behave correctly is 1.2.4. How could I submit a fix for this issue? On Aug 23, 8:50 pm, Tzury <[EMAIL PROTECTED]> wrote: > problem: > event.altKey is undefined. > > environment: > Linux/ FF 3.0.1 / jQuery-1.2.6 > > remark: > when I

[jQuery] jQuery 1.2.6 event.altKey is undefined

2008-08-23 Thread Tzury
problem: event.altKey is undefined. environment: Linux/ FF 3.0.1 / jQuery-1.2.6 remark: when I am using older version (1.1.4) everything works fine. The following markup along with firebug will be handy to capture it. http://jqueryjs.googlecode.com/files/ jquery-1.2.6.js">

[jQuery] Re: yet again XML+jQuery+IE7

2008-07-16 Thread Tzury
> Yeah it's a kind of bug in jQuery ... > > I dealt with this issue one month ago and the solution was to convert > it into JSON the way I am planning to approach is by building in-memory DOM element and injecting the XML into it. example: var el = document.createElement('div'); el.innerHTML = x

[jQuery] Re: yet again XML+jQuery+IE7

2008-07-16 Thread Tzury
> xml = $(' {xml goes here} '); > added "xml = $(xml);" (see below) still not working on IE7 var xml = "" + "" + "Hello" + "jQuery" + "" + ""; xml = $(xml); alert($("Table1", xml).text());

[jQuery] Re: yet again XML+jQuery+IE7

2008-07-16 Thread Tzury
> If that's the exact code you're using, then you should first convert the XML > string into a jQuery object, like this... > > xml = $(' {xml goes here} '); > Diego, John I changed my snippet as follows and it is still works only in FF, not in IE7 var xml = "" + "" +

[jQuery] Re: yet again XML+jQuery+IE7

2008-07-15 Thread Tzury
On Jul 15, 5:53 pm, "John Resig" <[EMAIL PROTECTED]> wrote: > Hey - can you provide an example site? It's unclear what might be > wrong without seeing a response from the server. What is the value of > xml when it comes back? > > --John > below is a snippet which can be tested in FF and IE

[jQuery] yet again XML+jQuery+IE7

2008-07-15 Thread Tzury
The following example (from the jquery-doc-site) works fine with firefox. however, in IE7 $("element_name", xml).text() returns empty-string anyone bypassed this issue in the past? $(document).ready(function() { // generate markup $("#rating").append("Please rate: "); for ( var i = 1;

[jQuery] yet again XML+jQuery+IE7

2008-07-15 Thread Tzury
the following example (taken from: http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery) works fine in FF but not in IE7 dose anyone find a way to make jQuery XML parsing facilities work on IE as well? $(document).ready(function() { // generate markup $("#rating").append("Pleas

[jQuery] Re: the jquery logo

2007-10-04 Thread Tzury
I loved that one.

[jQuery] Re: Is it possible to do something like Firebug `inspect` function with JQuery?

2007-09-09 Thread Tzury
> When mouse over an object, say a DIV for simplicity, I can use JQuery > to get its absolute position in DOM tree, There is Modi (http://slayeroffice.com/tools/modi/v2.0/modi_help.html) not jQuery but still JavaScript

[jQuery] Re: JQuery and Internet Explorer = trouble

2007-09-01 Thread Tzury
Can you please post the code part where you experiencing the problems you described? Are you talking about the Tipo, Marca and Modelo drop- downs? On Aug 31, 9:05 pm, vitormv <[EMAIL PROTECTED]> wrote: > Hello, > > ive been trying to set up some effects with jquery, but unfortunately > it only

[jQuery] Keyboard Shortcuts (hooking) Plugin

2007-08-29 Thread Tzury
ode Review. You can download a pre alpha version from http://code.google.com/p/snippets-4-all/ Thank you for the jQuery, Tzury Bar Yochay [EMAIL PROTECTED] http://evalinux.wordpress.com facebook.com/profile.php?id=513676303