JQuery_review: The jQuery Implementation of textarea's enlargement and reduction, jquerytextarea

Source: Internet
Author: User

JQuery_review: The jQuery Implementation of textarea's enlargement and reduction, jquerytextarea

As we all know, various browsers have different support for HTML, CSS, and Native JS. However, jQuery encapsulates different implementations of various browsers and can effectively solve cross-browser CSS problems. The following is a DEMO for review Form operations, which is recorded in this place to facilitate search and use for subsequent projects. It will be better if an animation is added, all the animation effects of jQuery can be achieved through the animate function.

<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">




Question about JQUERY operations on textarea

$ ("# TextAreaId" ).css ("" font "...... ");

After modification: The textarea element is a bit special. Its content is between the start and end labels of the package. So you try:
$ ("# TextAreaId" pai.html ("");

Help: implement a scalable div (with TextArea) in IE)

Go to the jquery official website and find jquery UI. There is a resizableplug. You download this plug-in. Specifically, a textarea.html is used to zoom in and out the textarea mouse, which can solve your problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.