digital_storm
10-19-2003, 05:06 AM
Hello!
Hello I'm a newbie of javascript and got three questions, nr 3 is my mainquestion:
1)
Where can I find an API for JS?
2)
When you declare a variable in JS don't you have to declare what kind of variable it is String, int etc. like in Java?
3)
I vant to import a vector ( "= elements") which have been initialized by a jsp-page. If i write;
var elements= <%start.getElements();%>
(start=my class which creates my vector element, getElements returns a Vector)
I get a "syntax error"
What should I do?
Thanks for helping me!
Hello I'm a newbie of javascript and got three questions, nr 3 is my mainquestion:
1)
Where can I find an API for JS?
2)
When you declare a variable in JS don't you have to declare what kind of variable it is String, int etc. like in Java?
3)
I vant to import a vector ( "= elements") which have been initialized by a jsp-page. If i write;
var elements= <%start.getElements();%>
(start=my class which creates my vector element, getElements returns a Vector)
I get a "syntax error"
What should I do?
Thanks for helping me!