Login     Sign up
jQuery Autogrow
tuya (@tuya)
Join date: Mar 5th 2011
Community posts: 49
View Profile
Send Message

I can not run it, Where am I doing wrong

<script type="text/javascript"src="js/jquery.autogrowtextarea.js "></script>
<script>
$(document).ready(function(){
$("#form_message").autoGrow();
});
</script>


156 months ago
tuya (@tuya)
Join date: Mar 5th 2011
Community posts: 49
View Profile
Send Message

http://code.google.com/p/jquery-elastic/downloads/list
download jquery.elastic.source.js and send
your FTP/jcow/js/....

Open page.tpl.php find
[code]<?php echo $header?>[/code]

After add

[code]<script type="text/javascript" src="<?php echo $uhome;?>/js/jquery.elastic.source.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('textarea').elastic();
$('textarea').trigger('update');
});
</script>[/code]

goodluck

156 months ago