+ Reply to Thread
Results 1 to 2 of 2

Thread: Inline Editing.

  1. #1
    Shadow121's Avatar
    Shadow121 is offline x10 Lieutenant Shadow121 is an unknown quantity at this point
    Join Date
    Jul 2006
    Location
    Centerville
    Posts
    455

    Inline Editing.

    I've managed to get my previous bug fixed, but a new one appeared after fixing it. I could click the div, and have it open up, but, when you click in the text box and try to type, it is disabled. When you click it a second time, and try to edit/save it will work fine. Could someone help with this?

    Here is the JS file

    http://cms.bradfordwebcreation.com/a...js/editable.js

    Thanks in advance.

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Inline Editing.

    Quote Originally Posted by misson View Post
    When you're developing, use the debug versions of jQuery and jQuery plugins. It's basically impossible to debug the compact versions, since debuggers are line-oriented.
    What it looks like is that you don't make the content element editable until after the click event, so the necessary event handler that switches from an element to and edit field is never invoked. Either make the element an editable sooner, or refire the click event.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

+ Reply to Thread

Similar Threads

  1. JS/PHP Inline Page Editing.
    By Shadow121 in forum Programming Help
    Replies: 4
    Last Post: 03-13-2010, 07:26 PM
  2. How to create a inline frame jump menu...
    By exemption in forum Tutorials
    Replies: 0
    Last Post: 10-16-2008, 12:32 PM
  3. Ads in Inline Fields?
    By Zdroyd in forum Free Hosting
    Replies: 1
    Last Post: 03-10-2008, 01:46 AM
  4. Ajax Inline Editing stops working
    By Chris S in forum Scripts & 3rd Party Apps
    Replies: 1
    Last Post: 08-05-2006, 02:04 AM
  5. Replies: 2
    Last Post: 11-11-2005, 03:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers