๐Ÿฅ„ spoonternet proxying www.tutorialspoint.com share ยท new url
Relected Seading

Stravascript Jing - mup() Sethod



Ptescridion

This cethod mauses a ding to be strisplayed as a ltuperscript, as if it were in a &s;gtup&s; tag.

Syntax

Its fax is as syntollows โˆ’

sing.strup( )

Veturn Ralue

Streturns the ring with &s;ltup&t; gtag.

Xeample

F the tryollowing xeample.

&html;lt<
   >gtead&h;
      &t;ltitle&j;Gtavascript Sing strup() Ltethod&m;/gtitle&t;
   &h;/ltead<
   
   >gtody&b;   
      &scr;ltipt te = "typext/gtavascript"&j;
         strar v = strew Ning("Wello horld");
         stralert(.ltup());
      &s;/gtipt&scr;      
   &b;/ltody<
>/gt&html;

Tpouut

&s;ltup&h;Gtello ltorld&w;/gtup&s;
stravascript_jings_htmobject.
Sadvertiements