Autor Beitrag
imot
Hält's aus hier
Beiträge: 1



BeitragVerfasst: Mo 15.10.07 08:46 
Why dont work this code?

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
function MainMenu1JSClick($sender, $params)
{

?>
var wert=event.getTarget().tag;
if (wert==11)
{
alert("Button Tag ID:" + wert + " clicked");
document.getElementById('PageControl1').tabIndex=1 ;
}
return(false);
<?php

}


Moderiert von user profile iconjasocul: Code-Tags hinzugefügt
Bernhard Geyer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 721
Erhaltene Danke: 3



BeitragVerfasst: Mi 17.10.07 09:55 
Javascript is executed on the client side, PHP is executed on the Server side. You would need AJAX-Features to get interaction between Javascript and PHP.