definition of print() function in javscript
-
hi, if any one knows definition of print() function in javscript please send the code. thank you.
yog hui gfgh kgdgrt njjn hjgkn
-
hi, if any one knows definition of print() function in javscript please send the code. thank you.
yog hui gfgh kgdgrt njjn hjgkn
-
Button1.Attributes.Add("onclick", "javascript:window.print();") If this is what you are asking?
(Not aimed at you personally. :)) I can't understand why everyone keeps adding that protocol in front of the javascript code. As the code isn't in an url it's not even used as a protocol, but is instead wrongly interpreted as a label.
Button1.Attributes.Add("onclick", "window.print();")
If you want a label in the code, why not use something more inspired? ;)Button1.Attributes.Add("onclick", "mailto:window.print();") Button1.Attributes.Add("onclick", "lpt1:window.print();") Button1.Attributes.Add("onclick", "dialog:window.print();") Button1.Attributes.Add("onclick", "code:window.print();") Button1.Attributes.Add("onclick", "todo:window.print();")
--- b { font-weight: normal; }