tags:

views:

42

answers:

1

Possible Duplicate:
I need to update href value using jquery

I wanted to change the domain value of href using jquery. If in the href="http://www.google.com?gsec=account" if i find gsec=account then i wanted to change only the domain value of href should be "http://account.google.com?gsec=account. There are other query string parameters which are added to gsec=account dynamically. So in the href whatever the value is i need to change only the domain name.

A: 

I've tried answering this one for you over here, so I'm not sure why you're re-asking this. There are several other good answers on your original request as well.

jmar777