0% found this document useful (0 votes)
12 views11 pages

IP Assignment No.1 Varun Patkar

IP Assignment no 1

Uploaded by

Varun Patkar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
12 views11 pages

IP Assignment No.1 Varun Patkar

IP Assignment no 1

Uploaded by

Varun Patkar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 11
I Ol] VASANTDADA PATIL PRATISHTHAN'S. Page No. COLLEGE OF ENGINEERING & VISUAL ARTS | Dublect | VWIF2I272048 —_ Narre Path | Div A Bath © pe Javascript Prxpems_ a Topic 1 Vedidatien G1 Write cr progam he occepl ume 42 puowerd Bean —_____|urea_d validate 14 Cshowld not : ™ 5 bletrm inns ° Wemame a purword < [TITLE > 7 Users Name _* <\ =" Text" = “Txtls = “Tet Us "> SSEEel Sea c= “Button” name =" check" velue ="check" | [onclick =" check C Tt User. value , TxtPrur Value J’ >
IS /FORMS (eae ecee eect Paras | Function Check (xy ) i a pie a eset [chert ("Lea Nome") 5 ee Voy wer =X 4 Voor paw 4 5 4 oe Wier = =" (" Blank is not allowed" Ss U Curerd="B' 4h wey<='2') < atert (" Wore, userName” >: 4 if (pa een") oes is not_cillowed” a | & w 4 ws: f 3 [Bony < | WTMLS ti CONMASANTDADA PATIL PRATISHTHAN'S Page No. LLEGE OF ENGINEERING & VISUAL ARTS ical preg maeeeceoel or eae ome _swme cr not - y id= ; omit” Ny Q"s id = “+ woe/p> Siri pi > funckiun vend byt 4 men aiglemenif ce u i : imnextIM =" ": | __1} Cdocument get Sle ByTdAC pan") value \ = | __Japcument ged élernent By Tel ( cemlivm”) welue 2 Ferree ee ee 4 —Murt le seme! 5 | A leamert teen! Bl v Put) vate — 4 lenyWo< ) SEeeEEEE CEE dxcument, Ft! gel Beton ytd“) inher ATL As * 3 4 < Thocly > _chunuctem,” Serge ee eee cece eee VASANTDADA PATIL PRATISHTHAN'S. Page No. COLLEGE OF ENGINEERING & VISUAL ARTS 9 app —te_accep} number bum wer f —|validale iF fo numente —Vvelied ae +S Doc TYPE _htimd > ee ecclt ice < him! ler “en"> {| _______ Number —validaiveim “Tusa seanneaes eeEGe/ iL es eee i func numberVatidation OO $ —__| event - preven’ Default O) ee ee Locunent e: tit Cis NaNeny) £ aa a ena ent Element c at") simneyHTML = “Plewre enter Numeric values 4 Fabre + [Sent cl fleme nt Byld (number Text") | apnevHTML = “Numer value is 4" +tp4 - velurn hue 5, a : eee ics i | & /seript> a a Sa s 7 > , Number + 4 —] Numeric value 921234 _ lone 7 | Pleune VASANTDADA PATIL PRATISHTHAN'S Page No COLLEGE OF ENGINEERING & VISUAL ARTS 7" : or Cobe @qrmaul. comm clu). CTYPE htt > < I seoupt> Enter_an email adda 1 \nput id > ‘email’ > Validate bute Vem > = civ id_=‘vesult' >
£ validate Zrrvu | Lernat a Jeb ver = (PC \w-\. T+ @COW-14\.9 4 Wwe 22.498 / yeh yea testCemoul, 4 iy Furctivn validate () § : lel tout > $C Hye"): ; eee ty, senuld text (" "9; 7 4 if (valid LCemail) | reutt ted Cemail +" is valid" 3s yell C88 "color". “ blue") % ele § reult ectlermail +" is net valid’; "i Yeault .C&s C" Coley? 1» “ved: tehum Sse» 3 w id my uw * ” ‘ 7 ® Js¢vipt | Jbocy > Ihara) Outpt aunty sie = “Col ited" > Cocleg gears | ret ulliplicalionn using “Tovascript <[lbs> it norm > Ast Numbes_s Ind Numbers The vesult is
a pan_id. 2 "Tew" >< /span> p> Som > : — ~~ a : je function im Ap! a] Oo ae Eeeeesneeaus ia ca i hum 1 = clocument . qet Elememi ytd C" Find Number"). Naluc 5 uma = cdeaument .et Element Ry TAC" Secor Number"). ole ¢ clucuument get Element Ry d C'veyutt") innex HTML = nur * num 2 * TERPED ™ Vpn ey Tuwuarip? —_| Aig M4 Number - | te | Number. | te aa Muurly} Te yenutt iss Wo Foe ——> { ——<.- Division t_shyle = "Coloy : red" é <3) Divisivn wing Javenenipt {st_Nurhex ext" id ="Secord Numbes’/> < /span>

< Strip! > qui _dindle By ae num = document. yet Zlemert ytd (“fir Number’) Values num2- dociument. getSlement By TdC'secund Number”). Value 4 2 dorument..gek€ lementByTd (result). inmevHTML = num 1 / pum 2.4 = % ee L <1 Sep script > i" boy VASANTDADA PATIL PRATISHTHAN'S ye No____—— COLLEGE OF ENGINEERING & VISUAL ARTS ee 2nd Number | i - seca 1 Divide] | The reault is \O ' te Qutpat ac facta .————_-_-- a@ Ocle_qec.n zs Z Mulhplicalien And — Division varny Tavasenpt| Ast Number I ee 7a Nabe ee ees [Malley Divide The veukt is 2

You might also like