Insert Text Into Form Using Javascript PHP Put Content In Textarea Field Link
function AddItem(ItemId)
{
document.Form.bible_verse_description.value = document.Form.bible_verse_description.value + '<' + ItemId;
}
</script>
<form id="Form" name="Form" method="post" action="/jesuswillcome/bible/add-verse.php">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100"> </td>
<td width="15"> </td>
<td width="5">
<a href="#" onclick="AddItem('span style="color:#ff0000"\>');">open span</a>
<a href="#" onclick="AddItem('/span\>');">close span</a> |||
<a href="#" onclick="AddItem('em\>');">Open Italic</a>
<a href="#" onclick="AddItem('/em\>');">close italic</a>
<BR></td>
</tr>
<tr>
<td>Verse</td>
<td> </td>
<td><textarea tabindex="1" name="bible_verse_description" cols="45" rows="5" id="bible_verse_description"></textarea></td>
</tr>
</table>
</form>
DEMO:
if you have a website and need web hosting, i always recommend a trusted web hosting place is always Webune.com
I hope this helps
i have a photo gallery that automaticly creates the thumnail page and i've added a cheezy light box and now i'm trying to add a "order prints" button and i've got it to open another html or php page that i want to put the file name into a field the user can not edit.... but i can't get from link to the window to the field?
any help would be appreciated
thank you
good good good...
good good good...
good good good...
good good good...
good good good...
good good good...
i appreciate your work!
appreciate it!
Related Content
Information
Javascipt Forums And Other Related Topics Discussion About Javascript Progamming »
Insert Text Into Form Using Javascript PHP Put Content In Textarea Field Link
Date: Sun Jun 03, 2007
Author hostman Received 10 Replies #796
Share



copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5
