1 Replies - 443 Views - Last Post: 03 October 2012 - 06:27 AM

#1 ersaan  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 31-May 12

Iframe

Posted 03 October 2012 - 05:53 AM

Hello i have a function
SCRIPT>

			function ButtonPress(value) {
			document.write('<LI>You pressed button number : '+value+'</LI>');
		}
		
var x = "<?php echo $GrupTav; ?> ";

	for (y=1;y<=x;y++)
		document.write('<BUTTON style="width: 100px; height: 110px;" value='+y+' id=(TAV'+y+') onclick="ButtonPress(value);">Grupi '+y+'</BUTTON>'); 


	</SCRIPT>

and creates a button array with the ID on DATABASE so i would like to make it when i click button 1 to appears IFRAME and create another button array in iframe .... i cannot handle it ...
Could u tell how can i reach to make this iframe and create button again in iframes :).....

Is This A Good Question/Topic? 0
  • +

Replies To: Iframe

#2 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3097
  • View blog
  • Posts: 10,883
  • Joined: 08-August 08

Re: Iframe

Posted 03 October 2012 - 06:27 AM

Moving to Javascript.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1