jQuery插件:jqTransform表单美化

一款表单美化的JQ插件.

表单美化

 

使用方法:

1- 添加JS到页面的Hand部份

//required

<script type="text/javascript" src="js/jquery.js"></script>

<script type="text/javascript" src="js/jquery.jqtransform.min.js"></script>

2- 添加表单HTML内容

<form class="jqtransform">

  <div class="rowElem">

    <label for="name">Name: </label>

    <input type="text" name="name" />

  </div>

  <div class="rowElem"><input type="submit" value="send" /><div>

</form>

3- 激活插件

After it, select the forms and call the jqTransform plugin. See some examples:



<script type="text/javascript">

$(function() {

    //find all form with class jqtransform and apply the plugin

    $("form.jqtransform").jqTransform();

});

</script>

你可能感兴趣的:(transform)