|
You can certainly use server side script to "generate" script on the browser. It would certainly be foolhardy to do so with something the browser can't deal with. The first thing, though, is to get a true grasp of the client/server relationship. Just because you see "mixed code" on a page doesn't mean it's interactive. It's a mixed method of preparing material on the server. Then it's shipped to the browser to render, and the server is done. Out of the picture until a new request arrives. On vacation. Home playing with mama. Not watching the client's mouse clicks, for sure.
|