SEO Forums: Your seo discussion forum  
Welcome, Unregistered.
You last visited: Today at 11:09 PM
Tags:



Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-25-2008, 04:54 AM
terrible.theterrible4@gmail.com
Guest
 
Posts: n/a
Default java script for "post a comment "



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?
Reply With Quote


  #2 (permalink)  
Old 09-25-2008, 04:54 AM
Ivan Marsh
Guest
 
Posts: n/a
Default Re: java script for "post a comment "

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.

Reply With Quote


  #3 (permalink)  
Old 09-25-2008, 04:54 AM
Gregor Kofler
Guest
 
Posts: n/a
Default Re: java script for "post a comment "

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
Reply With Quote


  #4 (permalink)  
Old 09-25-2008, 04:54 AM
terrible.theterrible4@gmail.com
Guest
 
Posts: n/a
Default Re: java script for "post a comment "

> 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?
Reply With Quote


  #5 (permalink)  
Old 09-25-2008, 04:54 AM
Conrad Lender
Guest
 
Posts: n/a
Default Re: java script for "post a comment "

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
Reply With Quote


  #6 (permalink)  
Old 09-25-2008, 04:54 AM
terrible.theterrible4@gmail.com
Guest
 
Posts: n/a
Default Re: java script for "post a comment "


can it be just a form function that on submit will display text after
<br> or <p>
<script type="text/javascript">
function document.write("<br>");
meaning write everything that comes after <break>


Reply With Quote


  #7 (permalink)  
Old 09-25-2008, 04:55 AM
Conrad Lender
Guest
 
Posts: n/a
Default Re: java script for "post a comment "

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
Reply With Quote


  #8 (permalink)  
Old 09-25-2008, 04:55 AM
terrible.theterrible4@gmail.com
Guest
 
Posts: n/a
Default Re: java script for "post a comment "

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
Reply With Quote


  #9 (permalink)  
Old 09-25-2008, 04:55 AM
Mike Duffy
Guest
 
Posts: n/a
Default Re: java script for "post a comment "

"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.
Reply With Quote


  #10 (permalink)  
Old 09-26-2008, 08:31 PM
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a
Default Re: java script for "post a comment "

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
Reply With Quote


Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:09 PM.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Great Seo Blog at SEONOTEPAD.COM