for the moment the script does like this:
- click on the link edit the link by making the input visible
- click next/before the link edit the link by making the input visible
i want when you click one time on the link not to edit but to open the page in new window, and when you click double to edit.
here’s the script:
http://jsfiddle.net/jaspermogg/pFyNY/1/ – you can double click the div to edit, or single click the link to open. That what you wanted?And here’s a jsFiddle that changes the href of the
ato the value you edited it to, just in case that’s what you’re trying to do next 🙂 http://jsfiddle.net/jaspermogg/pFyNY/2/Here’s the jsFiddle that does what you want – http://jsfiddle.net/jaspermogg/pFyNY/5/
JS –
Inspired by Jquery create Double Click event on A Href