标签:func serial ndt href add hang data- change click
$(function(){ var x = $("#ass").val(); alert("sss"+$.parseJSON(x).data.myAssetFundList[0].floatProfitLoss); });
////////////////////////
$(function(){
$(‘.data-detail‘).click(function(){
var me = $(this),rowId=me.attr(‘rowId‘);
location.href = ‘mfundTypeSerial.fuiou?action=goDetail&rowId=‘+rowId;
});
$(‘.data-mod‘).click(function(){
var me = $(this),rowId=me.attr(‘rowId‘);
location.href = ‘mfundTypeSerial.fuiou?action=goMod&rowId=‘+rowId;
});
$(‘#addBtn‘).click(function(){
location.href = ‘mfundTypeSerial.fuiou?action=goAdd‘;
});
});
<a href =javascript: class="data-detail" rowID="${rowId}">
//////////////
var type = $(‘select option:selected‘).val();
//////
<select id="dwe" onchange="xxx()">
<option value="1">1</option>
function xxx(){
var type = $(‘select option:selected‘).val();
${"#d"}.val(type)
}
<input class="hidden" name="d" id ="d" value="${queryBean.id}">
标签:func serial ndt href add hang data- change click
原文地址:http://www.cnblogs.com/jokeLife/p/7309486.html