Pages
(Move to ...)
Home
Styletint
The Spousal
Developer Help
▼
Friday, February 26, 2010
JS file with Server Side Variable
Javascript object and class concept
<_script_start>
var path = {
currentUrl: "",
getPath: function() {
return this.currentUrl;
},
TEST: function() {
alert(this.currentUrl);
}
}
script type="text/javascript">
path.currentUrl = '';
path.TEST();
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment