@ 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
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;
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.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("..")
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
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')?
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
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){
}
}
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 (){
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
> 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
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
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">
> 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
> xml = $(' {xml goes here} ');
>
added "xml = $(xml);" (see below)
still not working on IE7
var xml = ""
+ ""
+ "Hello"
+ "jQuery"
+ ""
+ "";
xml = $(xml);
alert($("Table1", xml).text());
> 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 = ""
+ ""
+
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
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;
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
I loved that one.
> 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
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
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
23 matches
Mail list logo