Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reg: How to put doNotScroll Property on a Textbox or Textarea

Status
Not open for further replies.

jjbears2k12

Programmer
Dec 4, 2012
2
US
Hi all,

I was actually looking if I could specify in my javascript a way to disable scrolling on all textboxes and textareas. Iam aware of the doNotScroll property that gets called on event.target.

event.target.getField("FieldName").doNotScroll=true

But donNotScroll would only work if I know the field name for sure but my textbox and textarea field name is dynamically generated and Iam not sure of a way to capture it.

Let me know if you have any suggestions.

Thanks
JJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top