It is my Computer Notes. Using Guide : object-key or object-key-key e.g. Step 1 Blog Search : [mysql-run] and then Step 2 ctrl+F [mysql-run] {bookMark me : Ctrl+D}
2013年7月22日 星期一
html onclick on click onclick-jsp
<input type="button" name="submit" value="Logon" class="button" onclick="location.href='menu.jsp';"/>
<!-- open next window -->
<input type="button" name="submit" value="Logon" class="button" onclick="check();"/>
function check(){
alert(1.111);
/* genAjaxReq();
var url = "Logon?id=" + _lookup("username")+"&pw="+_lookup("password");
req.open("GET", url, true);
req.onreadystatechange = callBack;
req.send(null);*/
var url="http://192.168.10.66:8080/hr/menu.jsp";
//req.open("GET", url, true);
openNewWindow(url);
}
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言