随笔分类 - js
摘要:向后查找 顾名思义,即查找指定字符后的内容。 例: $23.45 $5.31 $899.00 $69.96 使用正则表达式: (?<=\$)[0-9.]+ 返回结果$23.45 5.31 899.00 69.96 向前查找 查找指定字符前面的内容。 例: 123456...
阅读全文
摘要:<html> <head> <title> 元素居中 </title> <style> body{ margin:0;padding:0;height:100%;} </style> </head> <body> <table width= "100% " height= "100% " align= "center "> <tr> <td align= "center "> ...
阅读全文
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script...
阅读全文
摘要:jQuery-强大的jQuery选择器 (详解)[转] 1. 基础选择器Basics 名称 说明 举例 #id 根据元素Id选择 $("divId") 选择ID为divId的元素 elem...
阅读全文
浙公网安备 33010602011771号