| | | | |
| |||||||
| HTML, Usability und Barrierefreiheit Themen rund um Textauszeichnung, Formatierung, Barrierefreiheit und Usability. |
|
| | LinkBack | Themen-Optionen | Thema bewerten |
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| | |
| Erfahrener Benutzer Registriert seit: 21.05.2008
Beiträge: 9.937
![]() | http://www.lugbz.org/documents/smart...tml#grovelling Probier mal das hier, was dir mehr liegt musst du entscheiden: Code: <script>
var globaleVariable = 1;
alert('vorher: ' + globaleVariable);
function tuwas()
{
globaleVariable = 2;
}
tuwas();
alert('nachher: ' + globaleVariable);
// oder
function tunochwas(zahl)
{
return ++zahl;
}
globaleVariable = tunochwas(globaleVariable);
alert('am Ende: ' + globaleVariable);
</script>
|
| | |
|
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| PHP-Editor gesucht | Shyne | PHP-Fortgeschrittene | 14 | 12.05.2008 00:22 |
| Variable als Textdatei Lokal speichern | HSFighter | PHP Tipps 2006 | 3 | 28.02.2006 12:13 |
| GLobale Variable | PHP Tipps 2006 | 15 | 09.02.2006 20:29 | |
| Hilfe! global variable nicht im funktion erkannt | Bruce | PHP Tipps 2006 | 3 | 24.01.2006 09:46 |
| Variable dynamisch deklarieren | tobbe | HTML, Usability und Barrierefreiheit | 2 | 07.11.2005 18:53 |
| Globale Variable aus Funktion?? | PHP Tipps 2005-2 | 0 | 05.08.2005 18:57 | |
| Session Variable oder Globale Variable ? | PHP Tipps 2005-2 | 3 | 27.06.2005 21:49 | |
| php globale variable | PHP Tipps 2005 | 7 | 05.04.2005 12:17 | |
| Globale Variable | nixdorf | PHP Tipps 2005 | 4 | 19.03.2005 13:05 |
| globale variable | PHP Tipps 2005 | 8 | 11.03.2005 08:07 | |
| wie mache ich ein variable aus ein funktion global? | PHP Tipps 2005 | 2 | 09.02.2005 18:26 | |
| Warum wird Variable nicht übergeben??? | Anuschka | PHP Tipps 2005 | 2 | 06.01.2005 13:22 |
| Variable Global deklarieren? | suter | PHP Tipps 2004 | 2 | 16.06.2004 15:57 |
| Globale Variable der php.ini hinzufügen | PHP-Fortgeschrittene | 5 | 09.06.2004 19:43 | |

Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.