News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Advertisement

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;
<img id="myImage" src="/image1.png" />

You need to write a JavaScript function that will dynamically change which image is displayed. Which code segment should you use?

  1. function changeImage() { myImage.src = "image2.png"; }
    
  2. function changeImage() { document.getElementById("myImage").src = "image2.png"; }
    
  3. function changeImage() { getElementById("myImage").src = "image2.png"; }
    
  4. function changeImage() { window.getElementById("myImage").src = "image2.png"; }
    
Answer: Answer is b
comments powered by Disqus
Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;