![]() |
|
|||
|
On Mon, 22 Sep 2008 13:33:04 -0700, terrible.theterrible4@gmail.com wrote:
> Hello w3c,php, fedora + apache experts! > > Is there code I can use for POST A COMMENT? I am not ready for PHP yet. > Anybody did it in JS? JavaScript is client-side only in the vast majority of cases. Where do you intend to store these comments? -- I told you this was going to happen. |
|
|||
|
terrible.theterrible4@gmail.com meinte:
> Hello w3c,php, fedora + apache experts! > > Is there code I can use for POST A COMMENT? > I am not ready for PHP yet. Anybody did it in JS? If we talk about "JavaScript in the browser" - no one sane. Gregor -- http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie http://web.gregorkofler.com ::: meine JS-Spielwiese http://www.image2d.com ::: Bildagentur für den alpinen Raum |
|
|||
|
> JavaScript is client-side only in the vast majority of cases. Where do you
> intend to store these comments? > > -- > I told you this was going to happen. I thought to html-print it right under the submission field.I didn't plan on storing entries. So whereare Me going now? |
|
|||
|
On 2008-09-23 04:00, terrible.theterrible4@gmail.com wrote:
>> JavaScript is client-side only in the vast majority of cases. Where do you >> intend to store these comments? .... > I thought to html-print it right under the submission field.I didn't > plan on storing entries. That's pretty pointless if you're not going store them, you know? From your vague description, it sounds like you're trying to do something like this: <form (...)> <textarea name="comText"></textarea> <input name="comBtn" type="button" value="Display comment"> </form> <div id="comDisplay"> </div> <script type="text/javascript"> document.forms[0].elements["comBtn"].onclick = function () { document.getElementById("comDisplay").firstChild.d ata = document.forms[0].elements["comText"].value; }; </script> > So whereare Me going now? That, my friend, depends on whereMe are trying to get. - Conrad |
|
|||
|
On 2008-09-24 02:56, terrible.theterrible4@gmail.com wrote:
> function document.write("<br>"); > meaning write everything that comes after <break> No offense but I think you need to read up on JavaScript a little more. - Conrad |
|
|||
|
On Sep 24, 1:20*am, Conrad Lender <crlen...@yahoo.com> wrote:
> On 2008-09-24 02:56, terrible.theterrib...@gmail.com wrote: > > > function document.write("<br>"); > > meaning write everything that comes after <break> > > No offense but I think you need to read up on JavaScript a little more. > > * - Conrad If you have nothing to say Say nothing |
|
|||
|
"terrible.theterrible4@gmail.com" <terrible.theterrible4@gmail.com> wrote
in news:878f4a71-576a-4fa7-a920-33efe18a1cd8@a19g2000pra.googlegroups.com: > On Sep 24, 1:20*am, Conrad Lender <crlen...@yahoo.com> wrote: >> On 2008-09-24 02:56, terrible.theterrib...@gmail.com wrote: >> >> > function document.write("<br>"); >> > meaning write everything that comes after <break> >> >> No offense but I think you need to read up on JavaScript a little more. > > If you have nothing to say Say nothing > What he means is that 'document.write("<br>");' does not mean to write everything that comes after <break>. In your example there is nothing after the <br> anyways. What your example will do is just put out a blank line. Is that what you wanted? I did not see your original message. |
|
|||
|
Mike Duffy wrote <respond@newsgroup.only>:
> "terrible.theterrible4@gmail.com" wrote: >> On Sep 24, 1:20 am, Conrad Lender <crlen...@yahoo.com> wrote: >>> On 2008-09-24 02:56, terrible.theterrib...@gmail.com wrote: >>>> function document.write("<br>"); >>>> meaning write everything that comes after <break> >>> No offense but I think you need to read up on JavaScript a little more. >> If you have nothing to say Say nothing > > What he means is that 'document.write("<br>");' does not mean to write > everything that comes after <break>. I do not think this is what he means at all, but instead that the above code is as invalid as your sender address. PointedEars -- var bugRiddenCrashPronePieceOfJunk = ( navigator.userAgent.indexOf('MSIE 5') != -1 && navigator.userAgent.indexOf('Mac') != -1 ) // Plone, register_function.js:16 |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|