Results 1 to 3 of 3

Thread: [RESOLVED] dynamic insertion

  1. #1

    Thread Starter
    Hyperactive Member Greyskull's Avatar
    Join Date
    Dec 2003
    Location
    somewhere in England
    Posts
    382

    Resolved [RESOLVED] dynamic insertion

    Is there a way i can dynamically insert data onto one section of my page using Javascript?
    Atm my page is jst layed-out using several divs. A 3x3 grid using jst divs. On the centre div, i want the user to be able to add input to it dynamically so that when the middle box is clicked, the user will enter some input and then dynamically added onto the page..

    Hope i explained this as clear..


    Thanks in advance,
    Please go to the Thread Tools menu and click Mark Thread Resolved when your post is answered
    If someone helped you today then please consider rating their post.

  2. #2

    Thread Starter
    Hyperactive Member Greyskull's Avatar
    Join Date
    Dec 2003
    Location
    somewhere in England
    Posts
    382

    Re: dynamic insertion

    i cn dynamically add some text to by having onclick="callFunction()" which contains a text which dyanmically adds this to the page (using a bit of Ajax).

    To help clarify what im trying to achieve, I want something similar to this:

    http://www.ajaxdaddy.com/ajax-inline-text-edit.html

    I tried reading the javascript on it but its on spanish :S so i dnt understand how they do it.

    TiA
    Please go to the Thread Tools menu and click Mark Thread Resolved when your post is answered
    If someone helped you today then please consider rating their post.

  3. #3

    Thread Starter
    Hyperactive Member Greyskull's Avatar
    Join Date
    Dec 2003
    Location
    somewhere in England
    Posts
    382

    Re: [RESOLVED] dynamic insertion

    All i needed was the 'document.getElementById(nameofID).innerHTML = "userinput"; '
    Please go to the Thread Tools menu and click Mark Thread Resolved when your post is answered
    If someone helped you today then please consider rating their post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width