Write the code to maximize an image using javaScript?

Answer Posted / santosh pachauri

<img src="d:\xyz.jpg" name="img1"
onmouseover="img1.width='400';img1.height='400'"
onmouseout="img1.width='100';img1.height='100';" />

Is This Answer Correct ?    18 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the limitations of javascript?

474


How do I view javascript files in chrome?

478


What is the best free ide?

485


What is the use of window object?

537


How to setting a cookie with the contents of a textbox?

527






What are two-way data binding and one-way data flow, and how are they different?

568


What are the advantages of using JavaScript?

568


How to enabled 'Strict' mode in JavaScript?

577


What is a nan value?

499


How typeof operator works?

576


How do you change the style/class on any element using javascript?

486


Which built-in method reverses the order of the elements of an array?

529


Explain with an example the use of event handlers in javascript.

538


Difference between undefined and undeclared variables?

517


Explain closures in javascript?

488