WebFaction
Community site: login faq

Hello World!

I'm trying to use javascript on my site. I'm trying to add a function to limit the number of characters allowed in a text field. I've copy/pasted the code/html from another website, yet its not working. I have the script inside the head of the site and the input field in the body, yet its not working. Is there something else I need to do to allow javascript to run?

asked 25 Oct '10, 11:45

Sean Lambert
261615
accept rate: 25%

Could you provide a URL to the site where you are having problems so we can see what it's doing? If not, could you provide the javascript and html code?

(25 Oct '10, 12:03) aaronh ♦♦

Like always, I figured it out literally right after posting on here. This has happened like 5 times :)

permanent link

answered 25 Oct '10, 12:18

Sean Lambert
261615
accept rate: 25%

Great! I've marked this as the accepted answer.

(30 Oct '10, 03:28) klynton
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×13

question asked: 25 Oct '10, 11:45

question was seen: 1,570 times

last updated: 30 Oct '10, 09:21

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM