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 is the default data type in javascript?

500


What web sites do you feel use javascript most effectively (i.e., Best-in-class examples)? The worst?

488


How to check if a variable is an integer in javascript ?

538


What is variables in javascript?

457


What is difference between promise and callback?

480






How can I learn javascript fast?

482


How do I open javascript on my iphone?

487


What is Number object in JavaScript?

561


Which built-in method returns the calling string value converted to upper case?

518


Describe the properties of an anonymous function in JavaScript?

714


What is the difference between .call() and .apply()?

588


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

519


How can javascript be used to improve the "look and feel" of a web site? By the same token, how can javascript be used to improve the user interface?

516


How to define a anonymous function?

545


What is the use of Void(0)?

598