I meant to ask... What is the actual goal here? Can you give a little
background? Maybe there is another way to accomplish what you want to do
that doesn't rely on cloning the jQuery constructor.
> I want to clone the jQuery object $ to $D; but it actually seems to be
> overwriting. Can anyone pl
$.extend(foo) merely returns a reference to foo. It doesn't clone foo.
$.extend( {}, foo ) creates a new object and copies all of foo's properties
into it (doing a shallow copy).
So in theory you may be able to use $.extend( {}, $ ) - or more properly,
jQuery( {}, jQuery ) - to clone the jQuery
Btw.. for the first option, use jQuery 1.2.6.
jQuery 1.2.3 and before had a small issue with recursive extend.
--
Ariel Flesler
http://flesler.blogspot.com
On 24 mayo, 23:59, Ariel Flesler <[EMAIL PROTECTED]> wrote:
> That's an exotic situation.
> I'll give you 2 options:
>
> 1-
>
> var $D = $.e
That's an exotic situation.
I'll give you 2 options:
1-
var $D = $.extend( true, function( selector, context ) {
return new $D.fn.init( selector, context );
}, $ );
This MIGHT work, I never really tried something like this.
2-
Maybe jQuery.Collection is what you need. It lets you create
Wizzud,
Everything seems to work fine! Your fix did the trick, and the form
(the Home one at least - I haven't set the rest up as yet) submits
perfectly.
Thanks so much!
On May 24, 5:32 am, Wizzud <[EMAIL PROTECTED]> wrote:
> Ok.
> Couple of things.
> I put a 'return false;' at the end of the c
Hi,
I'm trying to use the latest version of jQuery and the validation
plugin. However, when I try to use jQuery.noConflict() I show 1 error
speficying that $ is not a function.
Any help regarding this issue will be fully appreciated!
Ale
hmph ... sorry about the typos! Must get into the habit of actually
wearing my glasses!
On May 24, 4:46 pm, leggo-my-eggo <[EMAIL PROTECTED]> wrote:
> Wizzud,
>
> So helpful, thank you!
>
> Just to have the record here complete, there were two small syntax
> things in that that I had to change, a
I want to clone the jQuery object $ to $D; but it actually seems to be
overwriting. Can anyone please suggest any solution?
Here is the code:
$D = $.extend($); // same result for $D = $;
$D.fn.extend({
click: function() {
alert('overridden click');
This has to do with loading a specific element from the results. The url
will except (space separated) the url then a selector of an element(s) to be
be the replacement. This is useful for doing partial refreshed,
$('#toBeUpdate').load('thisUrl #toBeUpdated'). While this is a nice feature,
I am not
http://docs.jquery.com/Ajax/load
Load can accept a selector inside the url, to get only a specific part
of the returned data.
Note that urls shouldn't have whitespaces and think names either.
In short, not a bug.
Thanks
--
Ariel Flesler
http://flesler.blogspot.com
On 24 mayo, 16:21, simjo <[
Please open a ticket and provide a test case. Any details you can add
will help.
http://dev.jquery.com/newticket
You don't need to mess with the php, just add the html of the page
with the relevant JS and the xml response.
Try to remove irrelevant parts.
Thanks!
--
Ariel Flesler
http://flesler
Hi, I recently started working with jquery 1.1.3.1.
I made extensive use of the "load" function eg:
$("#content").load($(this).attr("name"));
After updating to 1.2.5 none of the load functions except for one
worked any more.
Searching the internet did not bring the solution and after try
I am getting this error and and logically I do not understand why
should it be (ofcourse my logic is wrong somewhere).
I have a php file(php5) that has code to parse XML DOM and it has a
line where I use
element->item(0)->getAttribute("src");
it works fine, the echoed content has the code gener
Ariel,
Thanks for pointing this out.
Since only simple selectors are supported, perhaps it would be less
confusing if complex selectors returned undefined or null (consistent
with the recent discussion about .attr()), instead of true?
Jed Schmidt
[EMAIL PROTECTED]
On May 25, 1:51 am, Ariel Fle
is() supports only simple selectors, hierarchy ones cannot be used
with is() ($.filter).
--
Ariel Flesler
http://flesler.blogspot.com
On 24 mayo, 13:18, Jed Schmidt <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I'm getting some weird behavior from jQuery (1.2.3 and 1.2.5 alike)
> when I use hiera
hi all, i seem to have a problem with using Hotkeys and intercept
I would appreciate it very much if someone would explain why the error
is occurring and a solution ty in advance
OK the scenario
I have a (series of ) AJAX call(s) after which i am populating a DIV
with other DIVS arranged li
http://ero-mag.net
Wizzud,
So helpful, thank you!
Just to have the record here complete, there were two small syntax
things in that that I had to change, and the working version is:
jQuery('.entry a:not(.download):has( img )')
.filter(function(){ return /\.(jpg|gif|png)$/.test(this.href);
}).attr('rel','popup
Hello all,
I'm getting some weird behavior from jQuery (1.2.3 and 1.2.5 alike)
when I use hierarchy selectors ("ancestor descendant", "parent >
child", "prev + next", and "prev ~ siblings") in the argument of
the .is() method.
For example, in a well-formed html document:
jQuery("body").is("div"
Ok, thanks!!
On 24 maio, 00:16, "Karl Rudd" <[EMAIL PROTECTED]> wrote:
> Extremely small differences. If you're worried about the timing then I
> suggest doing some testing.
>
> Karl Rudd
>
> On 5/24/08, Alexsandro_xpt <[EMAIL PROTECTED]> wrote:
>
>
>
> > There aren't performance diference?
>
> >
getScript(url,callback)
After loaded one script, increase the progress bar... And check http
header of their files, it seems that they cache many files in client.
:)
On May 24, 6:11 pm, [EMAIL PROTECTED] wrote:
> Recently Google Added a Progress bar in gmail .. without any SWF
> uploader and an
Recently Google Added a Progress bar in gmail .. without any SWF
uploader and any Flashes ... And it works in IE and FIrefox ... how
could we do the same in jquery and How did they do this...?
Thanks,
I will try that.
Dominique.
On 23 mai, 14:26, steve_f <[EMAIL PROTECTED]> wrote:
> you need to use bind or click
>
> $('.view-field a').bind('click', function(){return
> confirm('sure ?')});
>
> On May 23, 9:09 am, dme69 <[EMAIL PROTECTED]> wrote:
>
> > Hello all,
>
> > I love jquery but
I've made a slideshow (remotely similar to other jQuery slides like
Frontpage Slideshow or jqGalScroll v2.1) but instead of just plain
numbered links to move between slides I've used jCarousel.
Clicking on the list items in jCarousel correctly shows me the proper
slide in my slideshow, but I can
jQuery('.entry a:not(.download):has( img )
.filter(function(){ return /\.(jpg|gif|png)$/.test(this.ref);
}).attr('rel','popupgallery').addClass('something');
On May 24, 12:55 am, leggo-my-eggo <[EMAIL PROTECTED]> wrote:
> Hi, I'm new here, so forgive me if I'm missing something obvious, or
>
Ok.
Couple of things.
I put a 'return false;' at the end of the click handler (sorry - tends
to be a reflex action!) when it doesn't actually need it. Either shift
it up to be within the 'if...' statement block, or remove it
altogether. It prevents focussing on the input element and activating
the
Hey, I'm required by law to ask if you forgot your
After that... got a link for us to crunch?
Wil Everts
[EMAIL PROTECTED]
> Is there any plugin, that will animate from one css class to
> another one?
What would that mean exactly? Given two CSS classes, what are the in-between
states? You need a series of in-between states to animate something.
-Mike
28 matches
Mail list logo