Click here to Skip to main content
15,886,026 members
Home / Discussions / Web Development
   

Web Development

 
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 
AnswerRe: Want PHP database fields to be echoed in textarea inside javascript Pin
Perspx9-Feb-09 6:52
Perspx9-Feb-09 6:52 
It really depends what your system is like:

1. If you have content that is retrieved from the server that is independent of user input, then all you need to do is request the data from the server when the page loads, and store it somewhere in a JavaScript global variable, for instance. It can then be inserted into the textarea when you need it to be.

2. If you have content that is retrieved from the server based on user input, then you would need to use AJAX (Asynchronous Javascript And XML), to make a request to the server, run your PHP script and return the data from the database can then be returned to your page and inserted into your textarea using JavaScript. Take a look at this article which might help, or look around on Google, for which there are lots of resources on the subject matter.

Regards,
--Perspx


"A refund for defective software might be nice, except it would bankrupt the entire software industry in the first year."
-Andrew Tanenbaum

"Einstein argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the software engineer."
-Fred Brooks



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 
QuestionOnMouseUp Event Pin
Manas Bhardwaj7-Feb-09 12:22
professionalManas Bhardwaj7-Feb-09 12:22 

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.