摘要:
<!DOCTYPE html><html> <head> <title> new document </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <script type="text/jav 阅读全文
摘要:
<!doctype html><html><head><meta charset="utf-8"><style>body{ margin:0; padding:0; font-size:30px; font-weight:bold}div{ text-align:center; line-heigh 阅读全文
摘要:
若要实现有多个分隔符分隔的字符串,具体代码如下: <html> <head> <script language="javascript" type="text/javascript"> function window_load(){ var str = "name,age,sex;address"; 阅读全文
摘要:
JS中split用法 <script language="javascript"> function spli(){ datastr="2,2,3,5,6,6"; var str= new Array(); str=datastr.split(","); for (i=0;i<str.length 阅读全文
摘要:
<!DOCTYPE html><html><head> <meta charset="utf-8"/></head><body> </body></html> 阅读全文
摘要:
<!DOCTYPE html><html><head> <meta charset="utf-8"/> <script src="jquery-1.11.3.js"></script></head><body> <input type="button" id="btn" value="load"> 阅读全文