Click here to Skip to main content
15,889,281 members
Home / Discussions / Web Development
   

Web Development

 
QuestionSave as PDF Pin
Civic069-Feb-09 15:22
Civic069-Feb-09 15:22 
AnswerRe: Save as PDF Pin
vaghelabhavesh9-Feb-09 15:24
vaghelabhavesh9-Feb-09 15:24 
GeneralRe: Save as PDF Pin
Civic069-Feb-09 15:31
Civic069-Feb-09 15:31 
GeneralRe: Save as PDF Pin
vaghelabhavesh9-Feb-09 15:38
vaghelabhavesh9-Feb-09 15:38 
AnswerRe: Save as PDF Pin
Vasudevan Deepak Kumar10-Feb-09 3:21
Vasudevan Deepak Kumar10-Feb-09 3:21 
AnswerRe: Save as PDF Pin
JohnLBevan10-Feb-09 12:16
professionalJohnLBevan10-Feb-09 12:16 
GeneralRe: Save as PDF Pin
User 606217629-Mar-09 4:04
User 606217629-Mar-09 4:04 
QuestionWant PHP database fields to be echoed in textarea inside javascript [modified] Pin
Dambod9-Feb-09 5:10
Dambod9-Feb-09 5:10 
I have a textarea with a name "DocContent" inside Javascript. I want the content of a field [called documentcontent]from database to be displayed inside the "DocContent" text when an event is fired inside javascript. anyone with a solution?
you may look at my partial code:
$query="select documentcontent, uploadDate from document where uploadDate=(select max(uploadDate) from document where documenttype='index' and documentid=12 )";
	  $result=mysql_query($query);
	  
	   if ($row = mysql_fetch_array($result)) 
	{
	
	extract($row);
	
	}	
?>
<script type="text/javascript">

function Eventhandler(selectobj){
 if(selectobj.value=='Modify')
 {
 
    document.FormUpdate.DocContent=<?php echo $row['documentcontent'];???>;
 	
 }
} </script>


modified on Monday, February 9, 2009 11:48 AM

AnswerRe: Want PHP database fields to be echoed in textarea inside javascript Pin
Perspx9-Feb-09 6:52
Perspx9-Feb-09 6:52 
GeneralRe: Want PHP database fields to be echoed in textarea inside javascript Pin
Dambod9-Feb-09 18:38
Dambod9-Feb-09 18:38 
QuestionMultiline Textbox - Safari Pin
kc_krishnan9-Feb-09 3:14
kc_krishnan9-Feb-09 3:14 
AnswerRe: Multiline Textbox - Safari Pin
vaghelabhavesh9-Feb-09 15:25
vaghelabhavesh9-Feb-09 15:25 
GeneralRe: Multiline Textbox - Safari Pin
kc_krishnan10-Feb-09 23:46
kc_krishnan10-Feb-09 23:46 
GeneralRe: Multiline Textbox - Safari Pin
vaghelabhavesh11-Feb-09 2:43
vaghelabhavesh11-Feb-09 2:43 
QuestionSharepoint Wiki Publisher Pin
JohnLBevan9-Feb-09 1:24
professionalJohnLBevan9-Feb-09 1:24 
QuestionDragging and Dropping Pin
bai_deb9-Feb-09 1:20
bai_deb9-Feb-09 1:20 
AnswerRe: Dragging and Dropping Pin
Perspx9-Feb-09 6:58
Perspx9-Feb-09 6:58 
GeneralRe: Dragging and Dropping Pin
bai_deb9-Feb-09 20:34
bai_deb9-Feb-09 20:34 
QuestionDrag and Drop Pin
cooltoad1238-Feb-09 22:55
cooltoad1238-Feb-09 22:55 
QuestionMake Round the Decimal number from 123.456 to 123.45 Asp.Net Pin
manovijay8-Feb-09 22:29
manovijay8-Feb-09 22:29 
AnswerRe: Make Round the Decimal number from 123.456 to 123.45 Asp.Net Pin
markymark829-Feb-09 3:59
markymark829-Feb-09 3:59 
QuestionProblem Sorting In Gird View Pin
nitpall8-Feb-09 21:14
nitpall8-Feb-09 21:14 
QuestionResilience of the DOM Pin
JimmyRopes8-Feb-09 3:24
professionalJimmyRopes8-Feb-09 3:24 
AnswerRe: Resilience of the DOM Pin
Shog98-Feb-09 7:54
sitebuilderShog98-Feb-09 7:54 
GeneralRe: Resilience of the DOM Pin
JimmyRopes8-Feb-09 11:52
professionalJimmyRopes8-Feb-09 11:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.