[jQuery] Re: .split an elements attribute

2009-04-09 Thread Nic Hubbard
Ah, thank you! Not sure what I was thinking. On Apr 9, 3:04 pm, mkmanning wrote: > Try alert( typeof(link_path) ) and you'll see it's a function. Try > link_path.toString() and then split it. > > On Apr 9, 2:54 pm, Nic Hubbard wrote: > > > I am getting the attribute of an image on a page.  It

[jQuery] Re: .split an elements attribute

2009-04-09 Thread mkmanning
Try alert( typeof(link_path) ) and you'll see it's a function. Try link_path.toString() and then split it. On Apr 9, 2:54 pm, Nic Hubbard wrote: > I am getting the attribute of an image on a page.  It is the onclick > attribute, but I need some text from the onclick function. (Sounds > strange,