473,385 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Comment posting

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?

Jul 6 '06 #1
4 1326
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?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 6 '06 #2
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.

Jul 6 '06 #3
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.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 6 '06 #4
mg***@yahoo.com wrote:
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?
Jul 6 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Richard | last post by:
Hi, I downloaded a sample form from formsplayer.com, extracted the source code and made some simple (I thought) mods. I added the comments before the html tag and the comments on the namespace...
3
by: RickyJack | last post by:
Using XML comments with the following code works correctly: using System; using System.Runtime.InteropServices; namespace test { // /// <summary>Summary description for temp1.</summary>...
1
by: Velvet | last post by:
In VS 2003 there was a menu item 'Tools' -- > 'Build Comment Web Pages'. Is that function in VS 2005? I haven't been able to find it, nor is it in Help. Thanks! Velvet
6
by: patrick j | last post by:
Hi I've been testing out the "Conditional Comment" for IE. This is because for my web-site I want to have two style sheets, one for IE 6 and one for other browsers. Thus I hope to have my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.