SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Sep 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JavaScript and DOM textarea onblur issue.?

    I am trying to implement some code on a inside page for web design company website using JavaScript and DOM. The issue I'm having is that I want to change the size of the textarea on blur. This text area changes from an input box to a textarea once the value length reaches a certain number, passed to the function call.

    I cannot seem to reference this textarea after it is dynamically made in order to change it's size (I am attempting to collapse it onblur and have it expand onfocus). Any help is greatly appreciated! The link to the code is below:

    http://forums.devshed.com/javascript-dev...

  2. #2
    SitePoint Wizard siteguru's Avatar
    Join Date
    Oct 2002
    Location
    Scotland
    Posts
    3,629
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    http://www.sitepoint.com/forums/showthread.php?t=502415

    I thought this question looked familiar. What on earth is going on here?
    Ian Anderson
    www.siteguru.co.uk


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •