This is a discussion on "Using "document.createTextNode"" within the JavaScript Forum section. This forum, and the thread "Using "document.createTextNode" are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Using "document.createTextNode"
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Using "document.createTextNode"
Hi All,
I am working on the script below. It works but what I want to to is: When the page loads it shows a map with a text box containing text which is pulled from the PHP variable.
What I want is: "this is a test message for the webmaster" spliting the line of text over morethan one line. Can anuone help, please.
|
|
|
|
|||
|
Can you just insert
tags in the text to make it break? |
|
|||
|
Hi Jeff,
Thanks for your reply. If I put into the text which is stored in an sql database it does put a carridge return when the data is display in a normal php file. But when I run the file with the javascript in it, the display is From the A406 North Circular Road North This is driving me mad. Thanks again for any input you can give. |
|
|||
|
Try using .openInfoWindowHtml instead
|
![]() |
| Tags |
| using |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Show "Image" Depends On User "Status"? | Monie | Classic ASP | 6 | Oct 16th, 2007 01:22 |
| document.getElementById("tabs") has no properties | afmanuk | JavaScript Forum | 3 | Sep 7th, 2007 19:11 |
| ? IS "meta name="robots" content="?" necessary in pages ? | Love2Java | Starting Out | 6 | Aug 8th, 2007 13:48 |
| document.getElementById("userProfileCheck") is not working in Mozilla Firefox | dhineraj | JavaScript Forum | 1 | Jul 20th, 2007 05:32 |
| window.opener.document["nameForm"].getElementById("someid").value; doesnt work | drpompeii | JavaScript Forum | 0 | Feb 17th, 2007 23:09 |