|
List Info
Thread: Dynamic Data Input/Editing
|
|
| Dynamic Data Input/Editing |

|
2006-02-23 00:54:30 |
Here is your code you posted on my web server:
www.boxxa.com/test.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Professional PHP Developers"
group.
To post to this group, send email to Professional-PHP googlegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---
|
|
| Dynamic Data Input/Editing |

|
2006-02-23 01:31:59 |
|
Hey,
This code works:
<html> <head> <title> JS Editing Script </title> <script type="text/javascript"> function Editable(I_D) {
var Content = document.getElementById(I_D).innerHTML; // Remove the Alerts and Enter an actual action location alert(Content); var Form_Stuff = '<form name="test" method="post" action=""><textarea name="editable" cols="40" rows="4">'+Content+'</textarea><br /><input type="submit" name="submit" value="edit" /></form>';
alert(Form_Stuff); document.getElementById(I_D).innerHTML=Form_Stuff; } </script> </head> <body> <div id="tester"> Test Test Test </div>
<a href="javascript: Editable('tester');"> Edit</a> </body> </html>
-- Sincerely, Tim N.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Professional PHP Developers" group. To post to this group, send email to Professional-PHP googlegroups.com To unsubscribe from this group, send email to Professional-PHP-unsubscribe googlegroups.com For more options, visit this group at http://groups.google.com/group/Professional-PHP -~----------~----~----~----~------~----~------~--~---
|
| Dynamic Data Input/Editing |

|
2006-02-23 05:02:19 |
Thanks for all the replies but I am still not getting a
javascript
action from either script when i click the edit.
Your code Tim is running on my web server and I am getting a
javascript
error.
http://boxxa.com/test.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Professional PHP Developers"
group.
To post to this group, send email to Professional-PHP googlegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---
|
|
| Dynamic Data Input/Editing |

|
2006-02-23 14:31:25 |
|
hey,
well, you must of changed something because it works fine on my site ...
http://navien.servehttp.com/test.html
On 2/23/06,
Boxxa <gmail.com">bryan.benway gmail.com> wrote:
Thanks for all the replies but I am still not getting a javascript action from either script when i click the edit.
Your code Tim is running on my web server and I am getting a javascript error.
-- Sincerely, Tim N.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Professional PHP Developers" group. To post to this group, send email to Professional-PHP googlegroups.com To unsubscribe from this group, send email to Professional-PHP-unsubscribe googlegroups.com For more options, visit this group at http://groups.google.com/group/Professional-PHP -~----------~----~----~----~------~----~------~--~---
|
| Dynamic Data Input/Editing |

|
2006-02-23 17:15:24 |
I copied the source on your page and posted it to mine.
Forgot the form
element
Works great. Thanks again!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Professional PHP Developers"
group.
To post to this group, send email to Professional-PHP googlegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---
|
|
[1-5]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|