在线手册

  • html colorpicker

    ← HTML 颜色名 HTML <pre> 标签 → #selectedcolor { border:1px solid #e3e3e3; width:80%; height:300px; margin:auto; } #divpreview { border:1px solid #e3e3e3; width:80px; height:20px; margin:auto; ...

  • default

    CSS Reference « W3Schools Home Next Reference » W3Schools' CSS reference is tested regularly with all major browsers. CSS Properties CSS Property Groups Color Background and Borders Basic Box ...

  • event oninvalid

    oninvalid Event Event Object Example Alert some text if an input field is invalid: <input type="text" oninvalid="alert('You must fill out the form!');" required> Try it yourself » More "Try it ...

  • jsref dowhile

    JavaScript do/while Statement JavaScript Statements Reference Example This loop will always be executed at least once, even if the condition is false, because the code block is executed before the condition is tested: var text = & ...

  • jsref for

    JavaScript for Statement JavaScript Statements Reference Example Loop through a block of code five times: var text = "";var i;for (i = 0; i < 5; i++) {    text += "The number is " + i + "& ...

  • jsref forin

    JavaScript for/in Statement JavaScript Statements Reference Example Loop through the properties of an object: var person = {fname:"John", lname:"Doe", age:25}; var text = "";var x;for (x in person) { ...

  • jsref match

    JavaScript String match() Method JavaScript String Reference Example Search a string for "ain": var str = "The rain in SPAIN stays mainly in the plain"; var res = str.match(/ain/g); The result of res will be an ...

  • jsref obj array

    JavaScript Array Reference « Previous Next Reference » Array Object The Array object is used to store multiple values in a single variable: var cars = ["Saab", "Volvo", "BMW"]; ...

  • jsref obj boolean

    JavaScript Boolean Reference « Previous Next Reference » JavaScript Booleans JavaScript booleans can have one of two values: true or false. The Boolean() Function You can use the Boolean() function to find out if an ...

  • jsref obj date

    JavaScript Date Reference « Previous Next Reference » Date Object The Date object is used to work with dates and times. Date objects are created with new Date(). There are four ways of instantiating a date: var d ...

推广服务(新)
最新文章