Click here to Skip to main content
15,906,626 members

Comments by prasad sawant (Top 35 by date)

prasad sawant 19-May-17 14:09pm View    
i use...

var op = Object.prototype;
op.w = (...)

which works but i want answer how to do because i want to set others also like...

var v = this.value
var l = this.length
prasad sawant 19-May-17 14:03pm View    
i want this...

o.p.w = (...)

Object.prototype.w = (...)

var o can be a variable because there is no dot notation left side and w can be a function because left side u can set "this" syntax, now the quastion is if i set a p as a function then it comes with round brackets and i dont know how to make "p" without round brackets. i googled it but dont know how to do it.
prasad sawant 19-May-17 13:53pm View    
can u explain ?

i tried this which doesnt works...

var p = this.prototype;
var this.p = this.prototype;
var this.p = return this.prototype;

i want something like...

o.p.w = (...)

Object.prototype.write = (...)
prasad sawant 14-Sep-16 4:44am View    
means i was need only ta.value = ""; and thanks for /d/g; i m happy
prasad sawant 14-Sep-16 4:29am View    
when i use oninput it directly replace words but cursor blinks between d and o but i want it at end, when i use onchange it doesnt replace words but when i click on other side without touching textarea its replace words but doesnt place cursor anywhere, i think oninput is perfect event, but some advance coding will need