www.webdeveloper.com

Search:

Type: Posts; User: cyyjm

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,093

    regular expression

    what is this means?

    /^((\w+)|(\\.))+$/
  2. Thread: prototype bind

    by cyyjm
    Replies
    1
    Views
    2,933

    prototype bind

    Function.prototype.bind = function() {
    var __method = this;
    var args = Array.prototype.slice.call(arguments);
    var object=args.shift();
    return function() {
    return...
  3. Replies
    1
    Views
    2,880

    help with this code

    function addMethod(object, name, fn) {
    var old = object[name];
    object[name] = function(){
    if (fn.length == arguments.length)
    return fn.apply(this, arguments)
    else if...
  4. Replies
    2
    Views
    461

    i found something in ecma-262 docs . i want to...

    i found something in ecma-262 docs . i want to know whether it is the way is .

    var a=Function.prototype.call.apply(function(a) {return a;},[0,4,3]) =>

    var a=(function(a) {return...
  5. Replies
    2
    Views
    461

    how to figure it out?

    var a = Function.prototype.call.apply(function(a){return a;}, [0,4,3]);alert(a);

    i know the answer is 4, but dont know how ?
  6. Replies
    3
    Views
    603

    what do this mean ?

    function getStyle( elem, name ) {
    if (elem.style[name])
    return elem.style[name];
    else if (elem.currentStyle)
    return elem.currentStyle[name];
    else if...
  7. Replies
    1
    Views
    1,268

    how to automatic append picture to a list?

    i want to automatic add img for my list.if text in span is today. code like this.
    append picture after meeting(4-22)
    code like this:


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0...
Results 1 to 7 of 7
HTML5 Development Center



Recent Articles