View Single Post
  #2  
Old 05-04-2015, 03:54 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Add default value to TextArea

Perhaps JavaScript will be the best answer. You can put an onChange or onClick event on the category select box, and then set the value of the textarea based on that.

http://www.w3schools.com/jsref/event_onchange.asp

http://stackoverflow.com/questions/415602/set-value-of-textarea-in-jquery
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote