Comment posting

M

mgauf

I am on a fishing trip ....
I am looking for a script that will allow a web visitor to post a
character limited reponse on a webpage that is nondatabase &
nonbillboard.

Does such an animal exist?

Any suggestions?
 
E

Evertjan.

wrote on 06 jul 2006 in comp.lang.javascript:
I am on a fishing trip ....
I am looking for a script that will allow a web visitor to post a
character limited reponse on a webpage that is nondatabase &
nonbillboard.

"nondatabase" and "nonbillboard" please elaborate, the first is not a
property of a PAGE, the second I do not undersand at all.

You will have to use some way of serverside code and saving of the text.
Serverside j[ava]script is available under ASP.

You want to limit the characters to, say, only consonants?
 
M

mgauf

A budget-conscious client wants:

On one of his webpages, he wants visitors to be able to post a comment
if a form field (that will have a limit on the number of characters a
user can enter into the field). Hit the sumbit button and that comment
will be displayed on the same webpage. The comments, in something like
an unordered list, will scroll down the page from the most recent at th
top and the the text form field will stay at the top. He doesnt want to
store/save the comments,

This could be a function JS is NOT capable of.
 
E

Evertjan.

wrote on 06 jul 2006 in comp.lang.javascript:
A budget-conscious client wants:

On one of his webpages, he wants visitors to be able to post a comment
if a form field (that will have a limit on the number of characters a
user can enter into the field). Hit the sumbit button and that comment
will be displayed on the same webpage. The comments, in something like
an unordered list, will scroll down the page from the most recent at th
top and the the text form field will stay at the top.
He doesnt want to store/save the comments,

So the comment is only visible to the posting user?
How impolite to the user

Then saving it as a cookie could be done,
or saving it as a serverside session variable.
This could be a function JS is NOT capable of.

If you had properly quoted, as I asked, you would have seen I showed you it
was possible using serverside Javascript.

Also using Ajax with clientside JS and serverside anything is possible.
 
P

Paul Lautman

A budget-conscious client wants:

On one of his webpages, he wants visitors to be able to post a comment
if a form field (that will have a limit on the number of characters a
user can enter into the field). Hit the sumbit button and that comment
will be displayed on the same webpage. The comments, in something like
an unordered list, will scroll down the page from the most recent at
th top and the the text form field will stay at the top. He doesnt
want to store/save the comments,

This could be a function JS is NOT capable of.

If he doesn't store them, where are the most recent comments going to come
from?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top