Hi Karl,
I never heard about the pathname property, but yeah, it works great.
Very thanx for the solution, I accomplished it making a regular
expression to extract the pathname, but this way works great and
clean.
Alexandre Magno
Web developer
http://blog.alexandremagno.net
(brazilian blog of j
Have you tried var path = this.pathname; ? That should do it. However,
I think either FF or IE includes the beginning slash while the other
doesn't, so you'll probably have to use a replace() in there too. Try
this:
var path = this.pathname.replace(/^\//,'')
--Karl
_
Kar
Exactly the same problem here ... any workarounds found?
On Jan 8, 1:11 pm, alexanmtz <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> Im defeat a great problem to read the href attribute on IE.
>
> If I had something like this:
>
> $(".somelink").click(function(){
>
> var path = $(this).attr("hre
3 matches
Mail list logo