请看一下,我真的需要帮助啊
下面这些代码错在哪?希望各位高手能帮一下,<Script Language ="JavaScript"> function p() { if(n.value="yanlian"){
Window .open(yanlian.htm);} else { Window .open(index.htm); } } </Script> <Form name="n">
<input type="text" name="n" value="" > <input type="button" name="进入" onclick=p()> </form>