You need to return false from your click handler function (this will
prevent the URL from changing). In the future questions like this
should be done on the main jQuery group, this group is for jQuery Core
development discussion.
http://groups.google.com/group/jquery-en

--John



On Tue, Nov 11, 2008 at 7:15 AM, SDLC <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I am building a mail account.
> the moment user logins, url is localhost/maillist. This url,on any
> operation remains the same(since internally ajax call is made).
> For reading any mail,Readmail form at the start contains a link '<a
> href=#ATTACH>Go To Attachment</a>' which points to group of links of
> attachments<a name=ATTACH> present at the bottom.
> problem is when 'Go To Attachment' link is clicked,focus is shifted to
> group of attachments but the url changes to localhost/maillist#ATTACH.
> I want url to be unchanged because now when user opens any other mail
> (i'e second time)then url is still localhost/maillist#ATTACH and
> clicks 'Go To Attachment' link , now  this fails and focus is not
> shifted.
> Regards
> Rupam
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to