Login | Register | FAQ
Anonymous

Onclick event for a button

+ Post a reply

Page 1 of 1


Onclick event for a button

by Shalini3 » Thu Feb 21, 2013 3:31 pm

hi,
I have a webpage for which a set of 3 images are displayed and upon a button click i want all the 3 images should automatically navigate to another new set of images.

For: img1 img2 img3 button
when i click on the button the imgs mentioned on top should change as
a b c.
Thanks in advance,
Shalini
User avatar

Shalini3

  • Posts: 1
  • Joined: Thu Feb 21, 2013 3:14 pm

Re: Onclick event for a button

by XainPro » Thu Feb 21, 2013 5:01 pm

Code: Select all
<!DOCTYPE html>
<html>
<head>
<meta charset="windows-1251" />
<title>On click Button Test</title>
<script type="text/javascript">
function changeImages() {
document.getElementById("Images").innerHTML = 'A , B , B';

}
</script>
</head>
<body>
<div id="Images">
<img src="img_name.jpg" /> |
<img src="img_name.jpg" /> |
<img src="img_name.jpg" />
</div>
<input type="button" value="Submit" onClick="changeImages();" />
</body>
</html>
User avatar

XainPro

  • Posts: 2401
  • Joined: Fri Feb 17, 2012 8:10 pm

dgmgwcer

by GeorgeHarPeale » Mon Aug 28, 2017 4:28 pm

https://www.flickr.com/groups/3601597@N ... 658027454/
https://bitbucket.org/snippets/sandysdg1967k3/epxM7K/

DГ©couvrez la vidГ©o.
https://bitbucket.org/snippets/jeffryha ... k7/pLnE9g/
https://bitbucket.org/snippets/orlandogay1981u6/X8LBMn/

Free Download Upgrade to PRO. Convert PDF to Free Office Convert Tool: Free Convert Between Microsoft Word(doc, docm, docx), EZ Pdf to Word Converter for Doc ( 18252-12 ), 8131KB, Download.
https://bitbucket.org/snippets/heribert ... e5/yqnb7g/
https://bitbucket.org/snippets/jasperda ... r8/j8L8Kr/

:3: We can all connect at gamezone or use Direct Connect if the. Ejecutar Autorun, clickear instalar y seguir los pasos de la 17 РёСЋРЅ 2017 crack age of empires 3 gratis. Nov 10, 2015 Age of Empires II HD: The African Kingdoms - Free Download - Full Version - Torrents Title: Age of Empires II HD: 8 New Real World Maps I realize there are things like Hamachi (is that even still around?)
http://fddjm.univapollonia.ro/showthrea ... #pid376106
http://kropek.96.lt/showthread.php?tid= ... 5#pid25565
https://dayfinanceltd.com/mybb/showthre ... tid=488455
http://shineofblood.com/viewtopic.php?f ... 2107#p2107
http://www.huntforum.ru/viewtopic.php?p=1771432#1771432

http://google.com/q=540a2u1s
User avatar

GeorgeHarPeale

  • Posts: 1820
  • Joined: Mon Jul 10, 2017 5:19 pm
  • Location: Iceland


+ Post a reply

Page 1 of 1