jquery atrr("href") is not consistent ..in sharepoint

Posted by alienavatar on Stack Overflow See other posts from Stack Overflow or by alienavatar
Published on 2010-06-17T19:15:32Z Indexed on 2010/06/17 19:23 UTC
Read the original article Hit count: 307

Filed under:
|

Hi all

I have a jquery function(This is not written by me anyway still I am learning). In that we are replacing urls using f.attr("href") in several places. I am not understanding that from where this href value will be binded. And why the value(f.attr("href")) is changing place to place. I mean to say it is having some value @ one location and if I give the same it is giving me different value at other location.

I read in article that The .attr() method gets the attribute value for only the first element in the matched set..What is the matched set means

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about sharepoint