Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 932379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:39:30+00:00 2026-05-15T20:39:30+00:00

I use this javascript to edit text in place: http://josephscott.org/code/javascript/jquery-edit-in-place now I need to

  • 0

I use this javascript to edit text in place: http://josephscott.org/code/javascript/jquery-edit-in-place now I need to edit links as well. But when I click on link instead of just making it editable I’m redirected to the link address. How can I change it so that if double click a link just make it editable and don’t redirect anywhere?

Can anyone please help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T20:39:31+00:00Added an answer on May 15, 2026 at 8:39 pm

    use the dblclick event and the preventDefault method

      $('a_selector').eip( "save.php", {
        form_type: "textarea"
    } );
    
    $('a_selector').dblclick(function(e){
      e.preventDefault();
    })
    

    update
    After toying around with the plugin a little..

    I believe it natively allows to set the event which starts the edit..

    $('a').eip( 'save.php', {
            form_type  : 'textarea',
            edit_event : 'dblclick'
        } );
    

    but i am not sure they correctly handle the case where the target element is a link, as i do not see in their code any attempt to stop the default behaviour ..

    Maybe you could modify the source code and add it yourself ..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 512k
  • Answers 512k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You can't. This problem is unsolvable with classic regular expressions,… May 16, 2026 at 5:33 pm
  • Editorial Team
    Editorial Team added an answer You should be able to simply create your own controller,… May 16, 2026 at 5:33 pm
  • Editorial Team
    Editorial Team added an answer https://www.mercurial-scm.org/wiki/wiki/TransplantExtension See under "Using transplant to cherrypick a set of… May 16, 2026 at 5:33 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

<html> <head> <script type=text/javascript src=http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js></script> <script type=text/javascript> $(document).ready(function(){ $(.pane:even).addClass(alt); $(.pane .btn-delete).click(function(){ alert(This Row will
I have done this using javascript for the edit bug page, where I used
Edit: As Andrew Moore pointed out this question is a duplicate of Two separate
<html> <iframe src=iWantToBeTheParent.html /> </html> I think this is a JavaScript task, it would
I'm trying to use draggable/droppable in a manner that allows you to drag and
i'm trying to write unobtrusive default/placeholder text in input (actually, relatively placed label over
I am using a customised version of search-theme-form.tpl When I use the search box,
So I've been working on this all day and I can't figure out how
I have a Content Editor Web Part where I am using scrolling Javascript to
I've got a Jquery function that I wrote which blacks out the screen after

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.