[Seasar-user:17848] [teeda-html-example]でlitboxにつぃて
thomas
[E-MAIL ADDRESS DELETED]
2009年 6月 24日 (水) 18:06:46 JST
hai,
i want to some logic in javascript of litboxview.html,but i couldnt call
javascript in listview.html.
How can i call
litbox.html
<script type="text/javascript">
//<![CDATA[
function view(){
new LITBox('./litboxview.html',{type:'window', overray:true});
}
//]]>
</script>
</head>
<body>
<form id="litboxForm">
<h2> Teeda Ajax with LITBox</h2>
<p>LITBox Exampleです</p>
<input type="button" value="LITBoxを表示する" onclick="view();" />
<hr/>
<p>受け取ったメッセージは以下に表示します。</p>
<span id="message">aiueo</span>
</form>
</body>
litboxview.html
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Ajax</title>
<script>
function setvalues(val){
alert("val");
}
</script>
</head>
<body>
LITBoxのサンプル
<form id="litboxForm">
<input type="text" id="message" />
<hr/>
<table border="1">
<tr>
<td></td>
<td>StatusCode</td>
</tr>
<div id="testItems">
<tr>
<td><input type="radio" id="statuscode" name="statuscode"/></td>
<td><span id="statusname"></span></td>
</tr>
</div>
</table>
<input type="submit" id="doSave" value="送信" onclick="setvalues(this)" />
</form>
</body>
Please give some suggession.
Thanks in advance
トマス
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://ml.seasar.org/archives/seasar-user/attachments/20090624/f313d999/attachment.html>
Seasar-user メーリングリストの案内