Perfect! Thank you very much!
On Jul 20, 7:26 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > sure, that would work just fine. > > something like this, maybe? : > > $('#somelink').attr({href: 'newprependedtext' + this.href.slice(-6)}); > > --Karl > ____________ > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Jul 20, 2008, at 7:52 PM, hubbs wrote: > > > > > I am wondering if it is possible to use the .slice() method to keep 6 > > characters on the end of a URL in a href attribute, then append a new > > URL to the beginning? > > > Or is there a better method to do this?