The guy knows little how languages and compilation work. If I compile a
program written in language A into a program written in lan B then B has
to be 1) able to do more than A and 2) more granular than A.
Javascript satisfies neither. It does not do more than C#/Java/C++ nor
is more granular.
I plan to develop an on-line demo.
Since I'm not familar with web programming, could any expert give me
some hints on which tool is suitable to use? Javascript? applet? servelet? or
tools like .asp .net? (I am not familar with neither of them).
My demo requires following characteristics:
a) the demo system is based on a dynamic database stored in server.
b) The demo should be computer-human interactive: when users make some
selections and input data via the demo interface, the system should be
a
How can we use javascript to new window, but we need post instead of get.
myWindow=new window("http://www.yahoo.com");
it pops up a windown and goes to www.yahoo.com.
but how can we use post instead of get like a form post
myWindown=new window("http://myserver/myservlet?a=b...");
No. The JSP page is parsed and compiled on the server side, and JavaScript is
on the client side. What you want to do is to submit the form to itself so
that JSP can get the input value via "request.getParameter("")".
Anyone has good AJAX or javascript forum to recommend?
I just tried jGuru, horrible interface.
Anyone can explain following problem is also appreciated -->
1.
2. document.getElementById("MyButton").onclick = highlight;
In my view, Method-1 and Method-2 are interchangeable. However, browser
doesn't think so -->
function highlight() {
alert(this.id);
}
Method-1 set this to window; and Method-2 set this to MyButton. Why is that?
I thin
Never mind my second question, find the answer in AJAX in action.
A simple javascript code could hide so many default information, that's
really bad, and sad for programmer.
I need to implement a navigation bar,
so when you are in current page, the tag
of current page should have a highlight color
and no link etc.
Want to know which is the better option, jstl or
javascript.
Only the server side knows which tab is the "current" page. Just render that
tab with a different css class name. I don't think javascript is necessary,
unless you also need to add some animation effects.
☆─────────────────────────────────────☆
goodbug (好虫) 于 (Thu Feb 15 14:53:49 2007) 提到:
I have a common problem in web development,
Let's say you have a lot of contacts, so many that you have
to paginate them, so they are in different pages. Each contact
has a checkbox, so a user can check multiple boxes and send
all these guys an email.
Now the only way I know of is to put the selected contacts in session,
and update them when you go to a different page. Is there a pure
javascript solution t
Hi,
Sorry no Chinese input here. I am trying to print an iframe in a html file.
The function I am using works in IE but not in FireFox.
My test code is here:
I would classify websites in a little different way,
HTML/JavaScript centric
Conventional web frameworks for page-by-page navigation, Ajax frameworks
with HTML abstraction, typically delivering single page websites.
non HTML category
Flash/Flex, Silverlight, JavaFX