for jquery update

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7388 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-04-23 09:57:49 +00:00
parent b851540b9f
commit 9cca48f2ce

View file

@ -75,7 +75,8 @@
<th scope="row"><div>{$lang->birthday}</div></th>
<td>
<input type="hidden" name="birthday" id="date_birthday" value="{$member_info->birthday}" />
<input type="text" class="inputDate" value="{zdate($member_info->birthday,'Y-m-d')}" readonly="readonly" />
<input type="text" class="inputDate" value="{zdate($member_info->birthday,'Y-m-d',false)}" readonly="readonly" />
<span class="button"><input type="button" value="{$lang->cmd_delete}" class="dateRemover" /></span>
<p>{$lang->about_birthday}</p>
</td>
</tr>
@ -114,7 +115,9 @@
<th scope="row"><div>{$lang->limit_date}</div></th>
<td>
<input type="hidden" name="limit_date" id="date_limit_date" value="{$member_info->limit_date}" />
<input type="text" class="inputDate" value="{zdate($member_info->limit_date,'Y-m-d')}" readonly="readonly" />
<input type="text" class="inputDate" value="{zdate($member_info->limit_date,'Y-m-d',false)}" readonly="readonly" />
<span class="button"><input type="button" value="{$lang->cmd_delete}" class="dateRemover" /></span>
<p class="clear">{$lang->about_limit_date}</p>
</td>
</tr>
@ -275,6 +278,9 @@
};
$.extend(option,$.datepicker.regional['{$lang_type}']);
$(".inputDate").datepicker(option);
$(".dateRemover").click(function() {
$(this).parent().prevAll('input').val('');
return false;});
});
})(jQuery);
</script>