hi there all

i have a input text , like this one :

<form>
[INDENT]<input type="text">[/INDENT]
[INDENT]</input>[/INDENT]
</form>

i want whenever the input is changed (without pressing Enter) a function in javascript named "welcome()" would be called, onchange function requires pressing Enter and i dont want it.

try onKeyup() or onkeyPress()

commented: ur answers are really gud +1

yup i guess this will solve. by the way u can do these kinda stuff automatically in Dreamweaver cs3 give it a try buddy

I think you can use onpropertychange function

Input is a self-closing empty tag, not a tag pair. It has no closing tag.

<form>
    <input type="text" />
</form>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.