Navigation problem.

L.S.

On a page in the web app I am developing the user can click a hyperlink in a table. Depending on a value in one of the table columns, the user navigates to one of four pages, which opens in a new a new window. I know how to set the hyperlink's onClick property to open a new window and pass parameters to the next page. Question is where do I put the code that evaluates which of the four page to return?

Kind regards,

Annet.

[457 byte] By [JagXa] at [2007-11-27 9:44:13]
# 1
Specify the url property of your hyperlink instead of the onclick property.You should also have a look at this: http://developers.sun.com/jscreator/learning/tutorials/2/dynpagenav.html
fredje_2000a at 2007-7-12 23:50:49 > top of Java-index,Development Tools,Java Tools...
# 2

Thanks for your reply,

But, how do I open the returned page in a new browser window if I don't put the window.open() JavaScript code in the hyperlink's onClick property?

Thanks,

Annet.

By the way, it's not the user who decides which page to return, that depends on a value that comes from the database.

JagXa at 2007-7-12 23:50:49 > top of Java-index,Development Tools,Java Tools...