www.webdeveloper.com

Search:

Type: Posts; User: irishbeer

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    2,191

    nice thraddash ! :)

    nice thraddash ! :)
  2. Replies
    12
    Views
    2,191

    Thanks jamesbcox1980 , but it still doesn't do...

    Thanks jamesbcox1980 , but it still doesn't do what I need... I need to overwrite a CLASS method... so that all the other JS that use obj = new MYCLASS() will work with my new class... I do not have...
  3. Replies
    12
    Views
    2,191

    yep... I've tried but it didn.t work... and you...

    yep... I've tried but it didn.t work... and you are right... prototype cannot override....
  4. Replies
    12
    Views
    2,191

    I could... but I cannot as that class is used in...

    I could... but I cannot as that class is used in files that I do not have access to...

    my HTML import few js:

    one.js
    two.js
    tree.js

    one.js defines MyClass and two.js and tree.js uses...
  5. Replies
    12
    Views
    2,191

    nop.... it erases all the other methods... tks

    nop.... it erases all the other methods... tks
  6. Replies
    12
    Views
    2,191

    JS ovewrite method of class

    Hi all.

    I have a class in a file js:


    MyClass = function() {
    this.myMethod = function() {
    alert("Please.... override me");
    }
Results 1 to 6 of 6
HTML5 Development Center



Recent Articles