javascript:void(0); will work, but it's obtrusive.  Are you using onclick=
in your anchor tags or unobtrusive event handlers in your JS file?

On Tue, Aug 25, 2009 at 5:12 PM, Dan Simpson <dan.simp...@gmail.com> wrote:

> Try href="javascript:void(0);"
>
> --Dan
>
>
> On Tue, Aug 25, 2009 at 5:09 PM, Guyren G Howe <guy...@gmail.com> wrote:
>
>>
>> On Aug 25, 2009, at 17:01 , James Miller wrote:
>>
>> > Do you need to return false; to prevent further execution?  What's
>> > triggering the ajax request?
>>
>> That doesn't help.
>>
>> Actually, I described this a bit wrong. I've done an ajax request and
>> displayed a set of options for the user. This is called by the user
>> clicking on one of those options. The ajax update that preceded it
>> actually works fine.
>>
>> > Does the action that triggers the ajax call happen to be a link with
>> > an anchor? <a href="#" ... /> ... that can cause your problem
>>
>> Yes. Do you know a solution?
>>
>> Regards,
>>
>> Guyren G Howe
>> Relevant Logic LLC
>>
>> guyren-at-relevantlogic.com ~ http://relevantlogic.com ~ +1 512 784 3178
>>
>> Ruby/Rails,  REALbasic, PHP programming
>> PostgreSQL, MySQL database design and consulting
>> Technical writing and training
>>
>> Read my book, Real OOP with REALbasic: <
>> http://relevantlogic.com/oop-book/about-the-oop-book.php
>>  >
>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
sdruby@googlegroups.com
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to