|
-
Feb 25th, 2008, 05:43 PM
#1
Thread Starter
Hyperactive Member
[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.
-
Feb 27th, 2008, 02:57 PM
#2
Thread Starter
Hyperactive Member
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.
-
Feb 28th, 2008, 02:04 PM
#3
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|