Please Help me

How can i change my siple asp code in java script.

My code is like

<SCRIPT LANGUAGE="VBScript">

sub PropTyp_onchange()

frm.action="index.asp"

frm.submit

end sub

sub CatTyp_onchange()

frm.action="index.asp"

frm.submit

end sub

</SCRIPT>

In asp tags

I use to write like this

Typ=request.Form("PropTyp")

[406 byte] By [shipra.9deca] at [2007-11-27 6:19:03]
# 1
What's this got to do with Java?
georgemca at 2007-7-12 17:33:21 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...