473,662 Members | 2,382 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Feedback The Number of Characters Entered Into Textarea?

I'm wondering if anybody has figured out how to implement this feedback
methodology [1] which displays [ x ] Characters Remaining when using the
TextBox TextMode="Multi Line" attribute which will cause the TextBox to be
output as a textarea element.

I have my constraints worked out. Its the feedback I am interested in
implementing.

<%= Clinton Gallagher

[1]
http://www.mediacollege.com/internet...haracters.html
Nov 19 '05 #1
4 1525
Looks like the article already talks you through how to implement that
feature. You can only do that in JavaScript. Is there a problem
implementing their code in your site?

"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in message
news:ei******** ******@TK2MSFTN GP15.phx.gbl...
I'm wondering if anybody has figured out how to implement this feedback
methodology [1] which displays [ x ] Characters Remaining when using the
TextBox TextMode="Multi Line" attribute which will cause the TextBox to be
output as a textarea element.

I have my constraints worked out. Its the feedback I am interested in
implementing.

<%= Clinton Gallagher

[1]
http://www.mediacollege.com/internet...haracters.html

Nov 19 '05 #2
Hello Peter,

I attempted to implement using several strategies. The feedback won't
function. I think it may be due to the value of the gnarly name attribute
generated by the ASP.NET control tree. I've got to sleep on it tonight...

<%= Clinton Gallagher

"Peter Rilling" <pe***@nospam.r illing.net> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Looks like the article already talks you through how to implement that
feature. You can only do that in JavaScript. Is there a problem
implementing their code in your site?

"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in message
news:ei******** ******@TK2MSFTN GP15.phx.gbl...
I'm wondering if anybody has figured out how to implement this feedback
methodology [1] which displays [ x ] Characters Remaining when using the
TextBox TextMode="Multi Line" attribute which will cause the TextBox to be
output as a textarea element.

I have my constraints worked out. Its the feedback I am interested in
implementing.

<%= Clinton Gallagher

[1]
http://www.mediacollege.com/internet...haracters.html


Nov 19 '05 #3
The name of a control as seen by IE usually never changes (unless it is
dynamic). You could, in IE, view the html source and use the name provided
as your reference, or you could dynamically generate the JavaScript and use
the ClientID property of .NET to output the correct reference when
generating the JavaScript.

"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in message
news:u2******** ******@TK2MSFTN GP12.phx.gbl...
Hello Peter,

I attempted to implement using several strategies. The feedback won't
function. I think it may be due to the value of the gnarly name attribute
generated by the ASP.NET control tree. I've got to sleep on it tonight...

<%= Clinton Gallagher

"Peter Rilling" <pe***@nospam.r illing.net> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Looks like the article already talks you through how to implement that
feature. You can only do that in JavaScript. Is there a problem
implementing their code in your site?

"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in
message news:ei******** ******@TK2MSFTN GP15.phx.gbl...
I'm wondering if anybody has figured out how to implement this feedback
methodology [1] which displays [ x ] Characters Remaining when using the
TextBox TextMode="Multi Line" attribute which will cause the TextBox to
be output as a textarea element.

I have my constraints worked out. Its the feedback I am interested in
implementing.

<%= Clinton Gallagher

[1]
http://www.mediacollege.com/internet...haracters.html



Nov 19 '05 #4
I'm going to try using the control's ID today...

<%= Clinton Gallagher

"Peter Rilling" <pe***@nospam.r illing.net> wrote in message
news:O1******** *****@TK2MSFTNG P10.phx.gbl...
The name of a control as seen by IE usually never changes (unless it is
dynamic). You could, in IE, view the html source and use the name
provided as your reference, or you could dynamically generate the
JavaScript and use the ClientID property of .NET to output the correct
reference when generating the JavaScript.

"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in message
news:u2******** ******@TK2MSFTN GP12.phx.gbl...
Hello Peter,

I attempted to implement using several strategies. The feedback won't
function. I think it may be due to the value of the gnarly name attribute
generated by the ASP.NET control tree. I've got to sleep on it tonight...

<%= Clinton Gallagher

"Peter Rilling" <pe***@nospam.r illing.net> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Looks like the article already talks you through how to implement that
feature. You can only do that in JavaScript. Is there a problem
implementing their code in your site?

"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in
message news:ei******** ******@TK2MSFTN GP15.phx.gbl...
I'm wondering if anybody has figured out how to implement this feedback
methodology [1] which displays [ x ] Characters Remaining when using
the TextBox TextMode="Multi Line" attribute which will cause the TextBox
to be output as a textarea element.

I have my constraints worked out. Its the feedback I am interested in
implementing.

<%= Clinton Gallagher

[1]
http://www.mediacollege.com/internet...haracters.html



Nov 19 '05 #5

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

Similar topics

1
4167
by: Kenneth McDonald | last post by:
I'm working on the 0.8 release of my 'rex' module, and would appreciate feedback, suggestions, and criticism as I work towards finalizing the API and feature sets. rex is a module intended to make regular expressions easier to create and use (and in my experience as a regular expression user, it makes them MUCH easier to create and use.) I'm still working on formal documentation, and in any case, such documentation isn't necessarily the...
6
11624
by: tony wong | last post by:
i wish to count number of characters in textarea box during typing in and display it somewhere in html page. so the number will increase during writing. is it possible to do it by javascript? Thanks a lot. Tony
8
3659
by: david.lindsay.green | last post by:
Hello all, I am quite new a web scripting and making web pages in general and I have stumbled across a problem I have as yet been unable to solve. I am trying to take the contents of a textarea box and save it to a file. This step is not to hard however the contents of the textarea is mostly latex source so it contains just about every special character you can imagine. My question is this, how do I save an exact copy of the textarea...
12
3835
by: comp.lang.php | last post by:
I have a textarea where people can cut & paste their resume. Unfortunately they often cut & paste their Word resume into the textarea, funky characters and all. This causes the display to be mangled from the HTML end when people view pages with these resumes stored as a MySQL text field entry. How do I fix this, also, how do I fix the displays of those already entered this way?
9
3925
by: Nathan Sokalski | last post by:
I have several TextBoxes with TextMode="MultiLine" in which I want to limit the number of characters that can be entered using a RegularExpressionValidator. I have come up with the following ValidationExpression: {0,250} The only problem with this ValidationExpression is that it does not include the \n character as stated on the following documentation page:
7
2120
Haitashi
by: Haitashi | last post by:
This is in the head: <script language="javascript" type="text/javascript"> function limitText(limitField, limitCount, limitNum) { if (limitField.value.length > limitNum) { limitField.value = limitField.value.substring(0, limitNum); } else { limitCount.value = limitNum - limitField.value.length; } } </script>
7
17610
by: Anz | last post by:
Is there any javascript function for counting the number of lines inside a text area ?
0
8432
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8856
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8633
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7365
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6185
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5653
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.