Hi all, here is my problem. I have a drop down list with two options, A and B. then a button named say, "OK". When A is selected and OK pressed, I need to execute certain html code, and when B is selected some other code. like a if and else statement but the flag is a drop down list (option). Can I do that? How? Please help.
Think it this way: I've a button on a page that will refresh the page, but not exactly. When the first time the page loads from a link, it should execute the code that is in "if". When I click on the button, it should execute the code in "else". in other words, the look of the page will be different if its loaded from a url or by clicking on the button. please let me know if that makes sense.
Joined: Nov 02, 2005
i know I can say, var x = '<=%java_var%>' to read a variable. but how do i write? [ November 09, 2005: Message edited by: Tokai Namnai ]