Served? Served what?
On 20/02/07, John Resig [EMAIL PROTECTED] wrote:
I just got served :-(
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
On 20/02/07, Oliver Boermans [EMAIL PROTECTED] wrote:
Served? Served what?
On 20/02/07, John Resig [EMAIL PROTECTED] wrote:
I just got served :-(
Dave knows something about jQuery that John doesn't (or he forgot about) ;)
It does show that there can be several ways to do the same thing in
Sam Collett schrieb:
On 20/02/07, Oliver Boermans [EMAIL PROTECTED] wrote:
Served? Served what?
On 20/02/07, John Resig [EMAIL PROTECTED] wrote:
I just got served :-(
Dave knows something about jQuery that John doesn't (or he forgot about) ;)
It does show that there can be several ways
Hey all,
I had some trouble today attempting to use the simple wrapinner plugin
with jquery 1.1.1.
http://motherrussia.polyester.se/jquery/wrapInner/
Some modification to the plugin code was required to make it do what I
was looking for.
// The additional argument is 's' (for selector
;', id: 'a'});
Before:
pI will become a link to jQuery.com/p
After:
pa href=http://jquery.com;I will become a link to jQuery.com/a/p
/christian
2007/2/19, Oliver Boermans [EMAIL PROTECTED]:
Hey all,
I had some trouble today attempting to use the simple wrapinner plugin
with jquery 1.1.1
, Oliver Boermans [EMAIL PROTECTED]:
Hey all,
I had some trouble today attempting to use the simple wrapinner plugin
with jquery 1.1.1.
http://motherrussia.polyester.se/jquery/wrapInner/
Some modification to the plugin code was required to make it do what I
was looking
Tidy! Thanks John.
While that is suits my particular purpose nicely, I'm curious, how
would you to change it to insert the to-be-wrapped content into the
_deepest_ point in the supplied HTML snippet.
Like regular wrap. eg:
Usage:
$('p').wrapInner('stronga href=//a/strong');
To make this:
pHello
(this);
});
};
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of John Resig
Sent: Monday, February 19, 2007 10:50 AM
To: jQuery Discussion.
Subject: Re: [jQuery] wrapinner with 1.1.1
It seems like this would be a better solution:
jQuery.fn.wrapInner = function(html