List Info

Thread: Dynamic Data Input/Editing




Dynamic Data Input/Editing
user name
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-PHPgooglegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---

Dynamic Data Input/Editing
user name
2006-02-23 01:31:59
Hey,

 This code works:

<html>
  <head&gt;
 &nbsp;  <title&gt;
 &nbsp;   ; JS Editing Script
&nbsp; &nbsp; </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=&quot;post&quot; action=&quot;"&gt;<textarea name=";editable&quot; cols=";40" rows=";4">;'+Content+'</textarea><br /><input type=";submit&quot; name=";submit&quot; value=&quot;edit"; /></form>';
alert(Form_Stuff);
document.getElementById(I_D).innerHTML=Form_Stuff;
}
</script>
  </head&gt;
  <body&gt;
 &nbsp;  <div id="tester">
   ; &nbsp; Test Test Test
 ; &nbsp; </div&gt;
 &nbsp;  <a href=";javascript: Editable('tester');&quot;> Edit</a>
  </body&gt;
</html>





--
Sincerely,
 &nbsp; 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-PHPgooglegroups.com
To unsubscribe from this group, send email to Professional-PHP-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---

Dynamic Data Input/Editing
user name
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-PHPgooglegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---

Dynamic Data Input/Editing
user name
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.benwaygmail.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,
 &nbsp; 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-PHPgooglegroups.com
To unsubscribe from this group, send email to Professional-PHP-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---

Dynamic Data Input/Editing
user name
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-PHPgooglegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribegooglegroups.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 )