<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ include file="/common/includeResource.jsp"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <meta content="yes" name="apple-mobile-web-app-capable"/> <meta content="black" name="apple-mobile-web-app-status-bar-style"/> <meta content="telephone=no" name="format-detection"/> <meta http-equiv="Content-Language" content="zh-CN"/> <meta name="Keywords" content="微戀網,免費交友, 免費交友網, 免費徵婚交友, 免費徵婚, 免費徵婚網, 免費徵婚交友網, 免費交友中心, 免費婚戀交友"> <meta name="Description" content="微戀網—徹底免費的手機婚戀交友平臺!"> <title>Insert title here</title> <link type="text/css" rel="stylesheet" href="<%=ossPath%>/marriage/css/voteCss.css"> <script type="text/javascript" src="<%=ossPath%>/marriage/web/js/jquery-1.8.3.min.js"></script> <script type="text/javascript"> $(document).ready(function() { //取標籤值轉int型 var i = new Number($("#piao").text()); $("#confirm").click(function() { //GET請求 $.ajax({ url : "${common_basePath}/vote/cede.do?userId=${user.id}", type : "GET", cache : false, success : function(data) { alert(data); } }); //POST請求 $.ajax({ url : "${common_basePath}/vote/phone.do", type : "POST", data : { phone : phone, userId : "${user.id}" }, cache : false, success : function(data) { alert(data); } }); return false; }); //跳轉 $("#index").click(function() { window.location.href='${common_basePath}/vote/introduction.do'; }); }); </script> <style> </style> </head> <body> <div style="display: none;"> <img src="<%=ossPath%>/marriage/images/share_vote.jpg"/> </div> </body> </html>